:root {
    --bg: #f5f6f3;
    --card: #fff;
    --ink: #12242e;
    --muted: #54646d;
    --line: #dde2df;
    --brand: #0d4a5b;
    --brand2: #0a3846;
    --gold: #f0a91f;
    --on-brand: #fff;
    --soft: #e9eeeb;
    --h: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
    --b: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

@media(prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #0e1a20;
        --card: #152730;
        --ink: #eaf0ee;
        --muted: #9fb0b7;
        --line: #25404b;
        --brand: #5cc0d6;
        --brand2: #0a3846;
        --soft: #12222a
    }
}

:root[data-theme="dark"] {
    --bg: #0e1a20;
    --card: #152730;
    --ink: #eaf0ee;
    --muted: #9fb0b7;
    --line: #25404b;
    --brand: #5cc0d6;
    --brand2: #0a3846;
    --soft: #12222a
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px))
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.6 var(--b);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3 {
    font-family: var(--h);
    line-height: 1.1;
    margin: 0 0 .5em;
    letter-spacing: -.02em
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800
}

h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700
}

h3 {
    font-size: 1.25rem;
    font-weight: 700
}

p {
    margin: 0 0 1em;
    max-width: 62ch
}

a {
    color: inherit
}

.wrap {
    width: min(1160px, 100% - 2.5rem);
    margin-inline: auto
}

section {
    padding: 5.5rem 0
}

.lead {
    color: var(--muted);
    font-size: 1.1rem
}

.blog-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--soft), var(--bg))
}

.blog-hero h1 {
    max-width: 850px;
    font-size: clamp(2.3rem, 5vw, 3.8rem)
}

.crumbs {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 1.1rem
}

.crumbs a {
    color: var(--brand)
}

.blog-list-section {
    padding-top: 3rem
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem
}

.blog-card {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px
}

.blog-card-image {
    display: block;
    aspect-ratio: 1200 / 630;
    background: var(--soft)
}

.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.blog-card-copy {
    padding: 1.25rem
}

.blog-card-copy h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem)
}

.blog-card-copy h2 a {
    text-decoration: none
}

.blog-card-copy p:not(.blog-meta) {
    color: var(--muted)
}

.blog-meta,
.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    color: var(--muted);
    font-size: .88rem
}

.blog-read-more {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none
}

.article-header {
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, var(--soft), var(--bg));
    position: static;
}

.article-header-inner {
    max-width: 920px
}

.article-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.7rem)
}

.article-featured-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    margin-top: 1.7rem;
    border: 1px solid var(--line);
    border-radius: 12px
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(190px, 245px) minmax(0, 760px);
    justify-content: center;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-top: 2.5rem;
    padding-bottom: 4rem
}

.article-toc {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 9px
}

.article-toc h2 {
    font-size: 1.1rem
}

.article-toc nav {
    display: grid;
    gap: .55rem
}

.article-toc a {
    color: var(--brand);
    font-size: .88rem;
    line-height: 1.4;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px
}

.article-content {
    min-width: 0
}

.article-alert {
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line));
    border-left: 5px solid var(--gold);
    border-radius: 7px;
    background: color-mix(in srgb, var(--gold) 10%, var(--card))
}

.article-body {
    min-width: 0;
    color: var(--ink);
    font-size: 1.04rem;
    line-height: 1.78;
    overflow-wrap: anywhere
}

.article-body h2 {
    margin: 2.6rem 0 .8rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    scroll-margin-top: 90px
}

.article-body h3 {
    margin: 1.7rem 0 .55rem;
    scroll-margin-top: 90px
}

.article-body p,
.article-body li {
    max-width: 76ch
}

.article-body a {
    color: var(--brand);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px
}

.article-body ul,
.article-body ol {
    padding-left: 1.4rem
}

.article-body li {
    padding-left: .15rem;
    margin-bottom: .55rem
}

.article-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 1.2rem 0 1.8rem;
    font-size: .92rem;
    line-height: 1.5
}

.article-body th,
.article-body td {
    min-width: 125px;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top
}

.article-body th {
    background: var(--soft);
    font-family: var(--h);
    font-size: .88rem
}

.article-body blockquote {
    margin: 1.2rem 0;
    padding: .2rem 1rem;
    border-left: 3px solid var(--brand);
    color: var(--muted)
}

@media(max-width:860px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem
    }

    .article-toc {
        position: static;
        max-height: none
    }
}

@media(max-width:620px) {
    .blog-grid {
        grid-template-columns: minmax(0, 1fr)
    }

    .article-header {
        padding-top: 2rem
    }

    .article-layout {
        padding-top: 1.5rem
    }
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px
}

.btn {
    display: inline-block;
    font: 600 1rem var(--b);
    padding: .85rem 1.4rem;
    border-radius: 6px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, background .2s, box-shadow .2s
}

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

.btn-p {
    background: var(--gold);
    color: #12242e;
    box-shadow: 0 4px 0 #b97f0d
}

.btn-p:hover {
    box-shadow: 0 6px 0 #b97f0d
}

.btn-s {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent
}

.btn-s:hover {
    background: var(--ink);
    color: var(--bg)
}

/* header */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 1rem
}

.logo {
    font: 800 1.15rem var(--h);
    letter-spacing: .04em;
    text-decoration: none;
    line-height: 1.1
}

.logo small {
    display: block;
    font: 400 .68rem var(--b);
    letter-spacing: 0;
    color: var(--muted)
}

nav ul {
    display: flex;
    gap: 1.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center
}

nav a {
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500
}

nav a:hover {
    color: var(--brand)
}

nav .btn {
    padding: .55rem 1rem;
    font-size: .9rem;
    box-shadow: none;
    color: #12242e
}

.burger {
    display: none;
    background: none;
    border: 2px solid var(--line);
    border-radius: 6px;
    padding: .45rem .7rem;
    font: 600 .9rem var(--b);
    color: var(--ink)
}

@media(max-width:900px) {
    .burger {
        display: block
    }

    nav ul {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem;
        gap: .2rem
    }

    nav ul.open {
        display: flex
    }

    nav li a {
        display: block;
        padding: .7rem 0
    }
}

/* hero */
.hero {
    padding: 4.5rem 0 5rem;
    background: var(--soft);
    border-bottom: 1px solid var(--line)
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: center
}

.hero .lead {
    font-size: 1.2rem;
    max-width: 48ch
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.6rem
}

.verbs {
    font: 700 1rem var(--h);
    color: var(--brand);
    margin-bottom: 1rem
}

.mock {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 30px 60px -25px rgba(10, 56, 70, .45);
    overflow: hidden;
    position: relative
}

.bar {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: .65rem .9rem;
    background: var(--soft);
    border-bottom: 1px solid var(--line)
}

.bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line)
}

.bar i:nth-child(1) {
    background-color: #FF605C;
}

.bar i:nth-child(2) {
    background-color: #FFBD44;
}

.bar i:nth-child(3) {
    background-color: #00CA4E;
}

.bar span {
    margin-left: .6rem;
    font-size: .75rem;
    color: var(--muted);
    background: var(--card);
    border-radius: 4px;
    padding: .15rem .7rem;
    flex: 1;
    max-width: 220px
}

.site {
    padding: 1.4rem;
    min-height: 290px;
    position: relative
}

.site .nv {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.3rem
}

.site .nv b {
    width: 60px;
    height: 10px;
    border-radius: 2px;
    background: var(--brand)
}

.site .nv em {
    width: 120px;
    height: 10px;
    border-radius: 2px;
    background: var(--line)
}

.site .hd {
    width: 75%;
    height: 22px;
    background: var(--ink);
    border-radius: 3px;
    margin-bottom: .6rem
}

.site .hd.s {
    width: 50%
}

.site .tx {
    height: 8px;
    background: var(--line);
    border-radius: 2px;
    margin: .45rem 0;
    width: 85%
}

.site .bt {
    display: inline-block;
    margin: 1rem 0;
    width: 120px;
    height: 32px;
    border-radius: 5px;
    background: var(--gold)
}

.site .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem
}

.site .row div {
    height: 56px;
    border-radius: 5px;
    background: var(--soft);
    border: 1px solid var(--line)
}

.old {
    position: absolute;
    inset: 0;
    background: #ddd;
    color: #555;
    padding: 1.4rem;
    font: 13px/1.4 Times, serif;
    opacity: 1
}

.old u {
    color: #0000ee
}

.old h4 {
    margin: 0 0 .5rem;
    font: bold 20px Times, serif
}

.old .x {
    margin-top: .8rem;
    border: 1px solid #999;
    padding: .4rem;
    background: #eee;
    font-size: 12px
}

.tag {
    position: absolute;
    right: .8rem;
    bottom: .8rem;
    background: var(--brand2);
    color: #fff;
    font-size: .72rem;
    padding: .25rem .6rem;
    border-radius: 4px;
    opacity: 1
}

@media(max-width:900px) {
    .hero .wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }
}

/* capabilities */
.caps {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--line)
}

.caps .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem 1.5rem
}

.caps p {
    margin: 15px auto;
    font: 700 1.5rem var(--h);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.chips span {
    font-size: .85rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: .25rem .65rem;
    background: var(--card);
    color: var(--muted)
}

/* services */
.grid4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem
}

.svc {
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand);
    border-radius: 6px;
    padding: 1.7rem;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s
}

.svc:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -18px rgba(10, 56, 70, .5)
}

.svc p {
    color: var(--muted);
    flex: 1
}

.svc a {
    font-weight: 600;
    color: var(--brand)
}

.custom {
    margin-top: 1.25rem;
    background: var(--brand2);
    color: #fff;
    border-radius: 6px;
    padding: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center
}

.custom h3 {
    margin: 0 0 .3rem
}

.custom p {
    margin: 0;
    color: #c5dde4
}

.custom .btn {
    border-color: #fff;
    color: #fff
}

.custom .btn:hover {
    background: #fff;
    color: var(--brand2)
}

@media(max-width:700px) {
    .grid4 {
        grid-template-columns: 1fr
    }
}

/* review */
.review {
    background: var(--brand2);
    color: #fff
}

.review .wrap {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: start
}

.review .lead {
    color: #c5dde4
}

.review ul {
    padding-left: 1.1rem;
    color: #c5dde4;
    margin: 1rem 0 0
}

form {
    background: var(--card);
    color: var(--ink);
    border-radius: 8px;
    padding: 1.8rem;
    display: grid;
    gap: 1rem
}

label {
    font-weight: 600;
    font-size: .92rem;
    display: block;
    margin-bottom: .3rem
}

input,
textarea {
    width: 100%;
    font: inherit;
    padding: .7rem .8rem;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
    color: var(--ink)
}

textarea {
    min-height: 100px;
    resize: vertical
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.err {
    color: #c0392b;
    font-size: .82rem;
    min-height: 1em;
    display: block;
    margin-top: .2rem
}

input[aria-invalid=true],
textarea[aria-invalid=true] {
    border-color: #c0392b
}

.ok {
    display: none;
    background: #e3f4ea;
    color: #14532d;
    border-radius: 6px;
    padding: 1rem;
    font-weight: 500
}

.note {
    font-size: .82rem;
    color: var(--muted);
    margin: 0
}

@media(max-width:900px) {
    .review .wrap {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .two {
        grid-template-columns: 1fr
    }
}

/* work */
.case {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden
}

.case .shot {
    background: var(--soft);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
    min-height: 260px
}

.ph {
    border: 2px dashed var(--muted);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
    width: 100%
}

.case .body {
    padding: 2rem;
    display: grid;
    gap: 1rem
}

dl {
    margin: 0;
    display: grid;
    gap: .9rem
}

dt {
    font-weight: 700;
    font-family: var(--h)
}

dd {
    margin: .1rem 0 0;
    color: var(--muted)
}

.todo {
    color: #9a6a00;
    font-style: italic
}

@media(max-width:800px) {
    .case {
        grid-template-columns: 1fr
    }

    .case .shot {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }
}

/* pricing */
.grid-p {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    margin-top: 2.5rem
}

.price {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column
}

.price .n {
    font: 800 2.2rem var(--h);
    margin: .3rem 0 .9rem
}

.price .n small {
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted)
}

.price ul {
    padding-left: 1.1rem;
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: .95rem;
    flex: 1
}

.price.feat {
    border: 2px solid var(--brand)
}

.price .btn {
    text-align: center;
    font-size: .92rem;
    padding: .75rem .8rem
}

@media(max-width:1000px) {
    .grid-p {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .grid-p {
        grid-template-columns: 1fr
    }
}

/* why / process */
.why {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    margin-top: 2.5rem
}

.why p {
    color: var(--muted)
}

.steps {
    list-style: none;
    counter-reset: s;
    padding: 0;
    margin: 2.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    position: relative
}

.steps li {
    counter-increment: s;
    border-top: 3px solid var(--brand);
    padding-top: 1rem
}

.steps li::before {
    content: counter(s);
    font: 800 1.6rem var(--h);
    color: var(--brand);
    display: block
}

.steps p {
    color: var(--muted);
    font-size: .95rem
}

@media(max-width:900px) {
    .steps {
        grid-template-columns: 1fr
    }

    .why {
        grid-template-columns: 1fr
    }
}

.ind {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.8rem
}

.ind span {
    background: var(--card);
    border: 1px solid var(--line);
    padding: .55rem 1.1rem;
    border-radius: 6px;
    font-weight: 500
}

/* faq */
details {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0
}

summary {
    font: 600 1.1rem var(--h);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem
}

summary::after {
    content: '+';
    font-size: 1.4rem;
    line-height: 1;
    transition: transform .2s
}

details[open] summary::after {
    transform: rotate(45deg)
}

details p {
    color: var(--muted);
    margin: .7rem 0 0
}

/* contact/footer */
.final {
    background: var(--brand2);
    color: #fff;
    text-align: center
}

.final p {
    margin-inline: auto;
    color: #c5dde4
}

.final .cta-row {
    justify-content: center
}

.final .btn-s {
    border-color: #fff;
    color: #fff
}

.final .btn-s:hover {
    background: #fff;
    color: var(--brand2)
}

.contact-l {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 2rem;
    justify-content: center;
    font-weight: 500
}

footer {
    padding: 3rem 0 5.5rem;
    font-size: .92rem
}

footer .wrap {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .4rem
}

footer h3 {
    font-size: 1rem
}

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

footer a:hover {
    color: var(--brand)
}

.copy {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 1.2rem;
    color: var(--muted)
}

@media(max-width:800px) {
    footer .wrap {
        grid-template-columns: 1fr 1fr
    }
}

.mcta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    gap: .5rem;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    border-top: 1px solid var(--line)
}

.mcta .btn {
    flex: 1;
    text-align: center;
    padding: .75rem .5rem;
    font-size: .95rem
}

@media(max-width:700px) {
    .mcta {
        display: flex
    }

    section {
        padding: 4rem 0
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

}

/* inner pages */
.phero {
    padding: 4rem 0 3.5rem;
    background: var(--soft);
    border-bottom: 1px solid var(--line)
}

.phero .lead {
    max-width: 60ch
}

.crumbs {
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: 1rem
}

.crumbs a {
    text-decoration: none
}

.crumbs a:hover {
    color: var(--brand)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem
}

.checks {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem 2rem
}

.checks li {
    padding-left: 1.8rem;
    position: relative
}

.checks li::before {
    content: '';
    position: absolute;
    left: .1rem;
    top: .5em;
    width: .85rem;
    height: .45rem;
    border-left: 3px solid var(--brand);
    border-bottom: 3px solid var(--brand);
    transform: rotate(-45deg)
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem
}

.steps.auto {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr))
}

.muted {
    color: var(--muted)
}

.prose {
    max-width: 72ch
}

.prose h2 {
    font-size: 1.5rem;
    margin-top: 2.2rem
}

.prose li {
    margin-bottom: .4rem
}

.flash {
    background: #e3f4ea;
    color: #14532d;
    border-radius: 6px;
    padding: 1rem;
    font-weight: 500
}

.errsum {
    background: #fdecea;
    color: #7f1d1d;
    border-radius: 6px;
    padding: .8rem 1rem;
    font-size: .92rem
}

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

.pcard {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.pcard .badge {
    align-self: start;
    font-size: .78rem;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: .1rem .6rem;
    color: var(--muted)
}

.pcard h3 {
    margin-top: .5em;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem
}

.links a {
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 6px;
    padding: .5rem 1rem;
    text-decoration: none;
    font-weight: 500
}

.links a:hover {
    border-color: var(--brand);
    color: var(--brand)
}

nav a[aria-current=page]:not(.btn) {
    color: var(--brand);
    border-bottom: 2px solid var(--gold)
}

@media(max-width:800px) {
    .split {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .checks {
        grid-template-columns: 1fr
    }
}

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

.skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 50;
    background: var(--gold);
    color: #12242e;
    padding: .6rem 1rem;
    border-radius: 6px
}

/* ============ v2: premium interactive layer ============ */
:root {
    --glow: rgba(13, 74, 91, .16);
    --grid: rgba(13, 74, 91, .07)
}

@media(prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --glow: rgba(92, 192, 214, .14);
        --grid: rgba(92, 192, 214, .08)
    }
}

:root[data-theme="dark"] {
    --glow: rgba(92, 192, 214, .14);
    --grid: rgba(92, 192, 214, .08)
}

/* subtle global depth: soft radial glow + fine grid, fixed, never competes with text */
body {
    position: relative
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(600px 420px at 12% -6%, var(--glow), transparent 60%),
        radial-gradient(700px 480px at 110% 18%, var(--glow), transparent 55%),
        radial-gradient(500px 380px at 50% 115%, var(--glow), transparent 55%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .5;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(1200px 800px at 50% 0%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(1200px 800px at 50% 0%, #000 30%, transparent 78%);
}

/* icons */
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -.14em
}

/* buttons: arrow + refined interaction */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem
}

.btn::after {
    content: '\2192';
    display: inline-block;
    transition: transform .25s ease
}

.btn:hover::after {
    transform: translateX(4px)
}

.nav .btn::after,
.mcta .btn::after {
    content: none
}

.btn-p {
    position: relative;
    overflow: hidden
}

.btn.magnetic {
    will-change: transform
}

.svc a.go,
.pcard a.view {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none
}

.svc a.go .icon,
.pcard a.view .icon {
    transition: transform .25s ease
}

.svc:hover a.go .icon,
.pcard:hover a.view .icon {
    transform: translate(3px, -3px)
}

/* header scroll state */
header {
    transition: background-color .3s ease, box-shadow .3s ease
}

header.scrolled {
    box-shadow: 0 1px 0 var(--line), 0 12px 24px -20px rgba(10, 30, 40, .35)
}

header.scrolled .nav {
    height: 60px;
    transition: height .25s ease
}

/* scroll progress */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 60;
    background: transparent;
    pointer-events: none
}

.progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    transition: width .1s linear
}

/* custom cursor (desktop, fine pointer only) */
#cursor-dot,
#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 70;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .2s ease
}

#cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--brand)
}

#cursor-ring {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--brand);
    transition: opacity .2s ease, width .2s ease, height .2s ease, border-color .2s ease
}

html.has-cursor #cursor-dot,
html.has-cursor #cursor-ring {
    opacity: .85
}

html.has-cursor {
    cursor: none
}

html.has-cursor a,
html.has-cursor button,
html.has-cursor .btn {
    cursor: none
}

#cursor-ring.hover {
    width: 52px;
    height: 52px;
    border-color: var(--gold)
}

@media(max-width:900px), (pointer:coarse) {

    #cursor-dot,
    #cursor-ring {
        display: none
    }

    html.has-cursor {
        cursor: auto
    }
}

/* mobile nav animation */
@media(max-width:900px) {
    nav ul {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem;
        gap: .2rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease, visibility 0s .25s
    }

    nav ul.open {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        transition: opacity .25s ease, transform .25s ease
    }

    nav ul li {
        opacity: 0;
        transform: translateY(6px);
        transition: opacity .3s ease, transform .3s ease
    }

    nav ul.open li {
        opacity: 1;
        transform: none
    }

    nav ul.open li:nth-child(1) {
        transition-delay: .04s
    }

    nav ul.open li:nth-child(2) {
        transition-delay: .08s
    }

    nav ul.open li:nth-child(3) {
        transition-delay: .12s
    }

    nav ul.open li:nth-child(4) {
        transition-delay: .16s
    }

    nav ul.open li:nth-child(5) {
        transition-delay: .2s
    }

    nav ul.open li:nth-child(6) {
        transition-delay: .24s
    }

    nav ul.open li:nth-child(7) {
        transition-delay: .28s
    }
}

/* ============ hero entrance ============ */
@keyframes heroUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hero .verbs {
    animation: heroUp .5s .05s both
}

.hero h1 {
    animation: heroUp .6s .15s both
}

.hero .lead {
    animation: heroUp .6s .32s both
}

.hero .cta-row {
    animation: heroUp .55s .46s both
}

.mock-wrap {
    position: relative;
    animation: heroUp .7s .38s both
}

html.hero-scroll-enabled .hero-scroll-stage {
    height: calc(100vh + 100vh);
    height: calc(100vh + 100svh)
}

html.hero-scroll-enabled .hero-scroll-stage .hero {
    position: sticky;
    top: 68px;
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
    display: flex;
    align-items: center
}

html.hero-scroll-enabled .hero-scroll-stage .hero>.wrap {
    width: min(1160px, 100% - 2.5rem)
}

@media(max-width:900px) {
    html.hero-mobile-scroll-enabled .hero .wrap {
        display: block
    }

    html.hero-mobile-scroll-enabled .hero-mock-stage {
        height: calc(var(--hero-mock-height) + var(--hero-scroll-viewport));
        margin-top: 2.5rem
    }

    html.hero-mobile-scroll-enabled .hero-mock-pin {
        position: sticky;
        top: calc((var(--hero-scroll-viewport) - var(--hero-mock-height)) / 2);
        z-index: 2
    }
}

.mock {
    position: relative;
    z-index: 2
}

/* floating tech badges around the hero mock (desktop only, purely decorative) */
.fb {
    position: absolute;
    height: min-content;

    z-index: 3;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .35rem .7rem;
    font: 600 .78rem var(--h);
    color: var(--brand);
    box-shadow: 0 10px 24px -14px rgba(10, 56, 70, .4);
    opacity: 1;
    animation: fbFloat 5s ease-in-out infinite
}


@keyframes fbFloat {

    0%,
    100% {
        transform: translateY(var(--badge-slide-y, 0px))
    }

    50% {
        transform: translateY(calc(var(--badge-slide-y, 0px) - 9px))
    }
}

.fb1 {
    top: -16px;
    left: -14px
}

.fb2 {
    top: 14%;
    right: -30px
}

.fb3 {
    top: 42%;
    left: -38px
}

.fb4 {
    bottom: 22%;
    right: -24px
}

.fb5 {
    bottom: -14px;
    left: 10%
}

.fb6 {
    top: 60%;
    right: 6%
}

.fb7 {
    bottom: 6%;
    left: -10px
}

@media(max-width:900px) {
    .site {
        min-height: 240px;
        padding: 1rem
    }

    .site .nv {
        margin-bottom: .8rem
    }

    .site .bt {
        margin: .6rem 0
    }

    .site .row div {
        height: 42px
    }

    .old {
        padding: 1rem
    }

    .old h4 {
        font-size: 18px
    }

    .fb {
        display: block;
        padding: .2rem .35rem;
        font-size: .62rem
    }

    .fb1 {
        top: -12px;
        left: 4px
    }

    .fb2 {
        top: -12px;
        right: 4px
    }

    .fb3 {
        top: 20%;
        left: 4px
    }

    .fb4 {
        top: 20%;
        right: 4px
    }

    .fb5 {
        bottom: 20%;
        left: 4px
    }

    .fb6 {
        bottom: 20%;
        right: 4px
    }

    .fb7 {
        bottom: -12px;
        left: 4px
    }
}

@media(max-width:900px) and (max-height:500px) {
    .site {
        min-height: 180px;
        padding: .75rem
    }

    .site .nv {
        margin-bottom: .5rem
    }

    .site .bt {
        margin: .35rem 0;
        height: 26px
    }

    .site .row div {
        height: 30px
    }

    .old {
        padding: .7rem;
        font-size: 12px
    }

    .old h4 {
        font-size: 16px
    }

    .old .x {
        margin-top: .4rem;
        padding: .25rem
    }
}

/* ============ scroll reveal (progressive enhancement, safe with no-JS) ============ */
.reveal-init {
    opacity: 0;
    transition: opacity .6s ease, transform .6s ease, filter .6s ease
}

.reveal-init.v-up {
    transform: translateY(28px)
}

.reveal-init.v-scale {
    transform: scale(.94)
}

.reveal-init.v-left {
    transform: translateX(-30px)
}

.reveal-init.v-right {
    transform: translateX(30px)
}

.reveal-init.v-blur {
    transform: translateY(10px);
    filter: blur(6px)
}

.reveal-init.reveal-in {
    opacity: 1;
    transform: none;
    filter: blur(0)
}

/* technology ticker */
.ticker {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.ticker-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: ticker 26s linear infinite
}

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

.ticker-track span {
    font: 600 .95rem var(--h);
    color: var(--muted);
    white-space: nowrap;
    padding: .3rem 0
}

@keyframes ticker {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* service cards: icon + glow + hover */
.svc {
    position: relative;
    overflow: hidden
}

.svc-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: transform .3s ease, background .3s ease
}

.svc::before {
    content: '';
    position: absolute;
    inset: auto -40% -60% auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--glow), transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none
}

.svc:hover::before {
    opacity: 1
}

.svc:hover .svc-icon {
    transform: scale(1.08) rotate(-4deg);
    background: var(--brand);
    color: #fff
}

.custom .svc-icon {
    background: rgba(255, 255, 255, .12);
    color: #fff
}

/* portfolio cards: browser frame + skeleton + zoom */
.pcard {
    padding: 0;
    overflow: hidden
}

.pcard .shot {
    position: relative;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
    overflow: hidden
}

.pcard .shot .bar {
    padding: .5rem .7rem
}

.pcard .shot .bar i {
    width: 8px;
    height: 8px
}

.pcard .shot img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    transition: transform .5s ease
}

.pcard:hover .shot img {
    transform: scale(1.06)
}

.pcard .skel {
    padding: 1.1rem
}

.pcard .skel .hd {
    width: 70%;
    height: 16px;
    background: var(--ink);
    opacity: .85;
    border-radius: 3px;
    margin-bottom: .5rem
}

.pcard .skel .tx {
    height: 7px;
    background: var(--line);
    border-radius: 2px;
    margin: .4rem 0;
    width: 90%
}

.pcard .skel .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: .7rem
}

.pcard .skel .row div {
    height: 38px;
    border-radius: 4px;
    background: var(--card);
    border: 1px solid var(--line)
}

.pcard .body {
    padding: 1.5rem
}

.pcard .chips {
    margin: .6rem 0
}

/* project spotlight */
.spotlight {
    background: var(--brand2);
    color: #fff
}

.spotlight .lead {
    color: #c5dde4
}

.spotlight .chips span {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .25);
    color: #eaf5f8
}

.spot-shots {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    margin-top: 2rem
}

.spot-frame {
    background: #0e2833;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    overflow: hidden
}

.spot-frame .bar {
    background: #0a2129;
    border-color: rgba(255, 255, 255, .12);
    padding: .55rem .8rem
}

.spot-frame .bar i {
    background: rgba(255, 255, 255, .35)
}

.spot-frame img {
    display: block;
    width: 100%;
    height: auto
}

@media(max-width:800px) {
    .spot-shots {
        grid-template-columns: 1fr
    }
}

/* process: progressive fill line */
.steps li {
    transition: border-color .5s ease
}

.steps li.reveal-in {
    border-top-color: var(--brand)
}

/* pricing icon */
.price .p-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: .8rem
}

.price.feat .p-icon {
    background: var(--brand);
    color: #fff
}

/* FAQ smooth accordion */
.faq-list details {
    overflow: hidden
}

.a-wrap {
    overflow: hidden;
    height: 0;
    transition: height .3s ease
}

.a-wrap p {
    padding-top: .2rem
}

summary {
    outline-offset: 4px
}

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

/* website-review scan visual */
.scan {
    margin-top: 1.6rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    padding: 1rem 1.1rem 1.2rem;
    position: relative;
    overflow: hidden;
    max-width: 360px
}

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    top: 0;
    animation: scanmove 2.6s ease-in-out infinite
}

@keyframes scanmove {
    0% {
        top: 0
    }

    50% {
        top: 100%
    }

    100% {
        top: 0
    }
}

.scan-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .75rem
}

.scan-row span {
    flex: 1;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .18)
}

.scan-row i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex: none;
    display: inline-block
}

.scan-row i.ok {
    background: rgba(90, 200, 140, .9)
}

.scan-row i.ok::after {
    content: '\2713';
    display: block;
    color: #04351b;
    font-size: .7rem;
    line-height: 16px;
    text-align: center;
    margin: -7px;
}

.scan-row i.load {
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: var(--gold);
    animation: spin .9s linear infinite;
    padding: .9rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* footer decorative watermark */
footer {
    position: relative;
    overflow: hidden
}

footer::before {
    content: '</>';
    position: absolute;
    right: -10px;
    bottom: -48px;
    font: 800 9rem var(--h);
    color: var(--brand);
    opacity: .05;
    pointer-events: none;
    line-height: 1
}

/* loading intro */
#intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--brand2);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: opacity .5s ease, visibility 0s .5s
}

#intro span {
    font: 800 1.4rem var(--h);
    letter-spacing: .08em
}

#intro small {
    color: #a9d3de;
    font-size: .85rem
}

#intro.hide {
    opacity: 0;
    visibility: hidden
}
header.article-header {
    position: static;
  }
/* reduced motion: guarantee visibility + kill new motion */
@media(prefers-reduced-motion:reduce) {
    .reveal-init {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important
    }

    .hero .verbs,
    .hero h1,
    .hero .lead,
    .hero .cta-row,
    .hero .scan,
    .mock-wrap,
    .fb {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important
    }

    .ticker-track {
        animation: none !important
    }

    .scan-line,
    .scan-row i.load {
        animation: none !important
    }

    #intro {
        display: none !important
    }

    #cursor-dot,
    #cursor-ring {
        display: none !important
    }
}