:root {
    --blue: #251aff;
    --blue-deep: #1600c7;
    --navy: #060625;
    --ink: #050505;
    --text: #171717;
    --muted: #5d6270;
    --line: #e6e8ef;
    --paper: #ffffff;
    --soft: #f5f6f9;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    color: var(--text);
    background: var(--paper);
}

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

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

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: absolute;
    z-index: 20;
    inset: 24px 0 auto;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(5, 5, 20, .34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-right: 14px;
}

.brand-mark {
    align-self: stretch;
    min-width: 188px;
    display: grid;
    place-items: center;
    padding: 0 18px;
    background: #050505;
}

.brand-mark img {
    width: 156px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.site-nav a {
    opacity: .9;
}

.site-nav a:hover,
.site-nav a.active {
    opacity: 1;
    color: #fff;
}

.nav-cta {
    border: 2px solid #fff;
    background: #fff;
    color: var(--ink);
    padding: 16px 25px;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    background: transparent;
    padding: 11px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 7px 0;
    background: #fff;
}

.hero {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: end;
    padding: 150px 0 92px;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center right;
    color: #fff;
    overflow: hidden;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 3, 18, .98) 0%, rgba(15, 9, 90, .95) 36%, rgba(37, 26, 255, .58) 62%, rgba(255,255,255,.06) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.35), transparent 72%);
    pointer-events: none;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 6, 72, .96) 0%, rgba(37, 26, 255, .66) 48%, rgba(0, 0, 0, .28) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.hero__copy {
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow::before,
.section-heading span::before,
.section-heading--left span::before {
    content: "";
    width: 60px;
    height: 4px;
    background: currentColor;
}

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

.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: 78px;
    line-height: .94;
    font-weight: 900;
    text-transform: uppercase;
}

.hero p {
    max-width: 660px;
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border: 2px solid currentColor;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

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

.btn--primary {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.btn--ghost {
    color: #fff;
}

.btn--ghost-dark {
    color: var(--ink);
}

.hero__actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.social-rail {
    position: absolute;
    z-index: 3;
    left: 84px;
    bottom: 30px;
    display: flex;
    gap: 18px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.service-strip {
    position: relative;
    z-index: 5;
    margin-top: -42px;
    padding: 0;
    background: transparent;
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(10, 12, 25, .08);
    background: #fff;
    box-shadow: 0 28px 80px rgba(5, 5, 18, .14);
}

.strip-grid article {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 18px;
    min-height: 172px;
    padding: 34px 30px;
    border-right: 1px solid var(--line);
}

.strip-grid article:last-child {
    border-right: 0;
}

.strip-grid span {
    color: var(--blue);
    line-height: 1.05;
    font-weight: 900;
}

.strip-grid h2 {
    margin-bottom: 12px;
    font-size: 25px;
    line-height: 1.02;
    font-weight: 900;
    text-transform: uppercase;
}

.strip-grid p {
    display: inline-flex;
    margin: 0 8px 8px 0;
    padding: 7px 10px;
    background: #f2f3ff;
    color: #171717;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
}

.section-pad,
.split-section {
    padding: 112px 0;
}

.section-pad--muted {
    background: var(--soft);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 76px;
    align-items: center;
}

.mega-word {
    min-height: 310px;
    display: grid;
    place-items: center;
    background: url("../img/abstract.jpg") center/cover;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 170px;
    line-height: .78;
    font-weight: 900;
    text-transform: uppercase;
}

.section-heading {
    margin-bottom: 44px;
    text-align: center;
}

.section-heading--left {
    text-align: left;
}

.section-heading h2 {
    margin-bottom: 10px;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
}

.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--blue);
    font-weight: 800;
}

.lead {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.work-preview {
    padding: 98px 0;
    background: var(--soft);
}

.portfolio-row,
.reason-grid,
.testimonial-grid,
.blog-grid,
.service-grid,
.package-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card,
.post-card,
.team-card,
.package-card,
.testimonial,
.contact-card,
.contact-form {
    background: #fff;
    box-shadow: 0 20px 55px rgba(8, 8, 22, .08);
}

.portfolio-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    color: #fff;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    transition: transform .35s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-card div {
    position: absolute;
    inset: auto 0 0;
    padding: 28px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}

.portfolio-card span,
.post-card span,
.masonry-item span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.portfolio-card h3 {
    margin: 8px 0 0;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

.stats-band {
    padding: 64px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stats-grid strong {
    display: block;
    color: var(--blue);
    font-size: 52px;
    line-height: 1;
    font-weight: 900;
}

.stats-grid span {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.blue-card {
    position: relative;
    min-height: 280px;
    padding: 40px 34px;
    background: var(--blue);
    color: #fff;
    overflow: hidden;
}

.blue-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .45;
}

.blue-card > * {
    position: relative;
}

.blue-card span {
    display: block;
    margin-bottom: 34px;
    color: rgba(255,255,255,.23);
    font-size: 86px;
    line-height: .8;
    font-weight: 900;
}

.blue-card h3 {
    margin-bottom: 16px;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.blue-card p,
.blue-card li {
    color: rgba(255,255,255,.88);
    line-height: 1.7;
}

.blue-card ul,
.package-card ul,
.check-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.blue-card li,
.package-card li,
.check-list li {
    margin-bottom: 10px;
}

.blue-card li::before,
.package-card li::before,
.check-list li::before {
    content: "›";
    margin-right: 9px;
    font-weight: 900;
}

.philosophy {
    padding: 120px 0;
    background: url("../img/page-hero.jpg") center/cover fixed;
}

.philosophy-card {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    background: #fff;
}

.philosophy-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-card div {
    padding: 58px;
}

.philosophy-card h2 {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.philosophy-card p {
    color: var(--muted);
    line-height: 1.75;
}

.testimonial {
    padding: 34px;
}

.testimonial p {
    min-height: 132px;
    color: var(--muted);
    line-height: 1.8;
}

.testimonial strong {
    display: block;
    font-weight: 900;
    text-transform: uppercase;
}

.testimonial span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.team-card {
    position: relative;
    overflow: hidden;
}

.team-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.team-card div {
    padding: 24px;
}

.team-card h3 {
    margin-bottom: 4px;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.team-card p,
.team-card strong {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.team-card--large p {
    color: var(--muted);
    font-weight: 500;
    line-height: 1.7;
}

.post-card {
    padding-bottom: 28px;
}

.post-card img {
    width: 100%;
    aspect-ratio: 1.25 / 1;
    object-fit: cover;
}

.post-card span,
.post-card h2,
.post-card h3,
.post-card p {
    margin-left: 24px;
    margin-right: 24px;
}

.post-card span {
    display: block;
    margin-top: 22px;
}

.post-card h2,
.post-card h3 {
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.post-card p {
    color: var(--muted);
    line-height: 1.7;
}

.bottom-cta {
    padding: 70px 0 0;
}

.bottom-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 25px 65px rgba(0,0,0,.1);
    transform: translateY(52px);
    position: relative;
    z-index: 2;
}

.bottom-cta__image {
    min-height: 320px;
    background: url("../img/abstract.jpg") center/cover;
}

.bottom-cta__grid > div:last-child {
    padding: 55px;
}

.bottom-cta h2 {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.bottom-cta p {
    color: var(--muted);
    line-height: 1.75;
}

.site-footer {
    padding: 120px 0 0;
    background: #000;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 52px;
}

.footer-grid h2,
.footer-grid h3 {
    font-weight: 900;
    text-transform: uppercase;
}

.footer-logo {
    width: 210px;
    max-width: 100%;
    height: auto;
    margin-bottom: 22px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.65;
}

.footer-bottom {
    margin-top: 72px;
    padding: 26px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.65);
    text-align: center;
    font-size: 13px;
}

.page-hero {
    position: relative;
    min-height: 330px;
    display: grid;
    align-items: center;
    padding-top: 92px;
    background-image: var(--page-hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 10px;
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

.rounded-media {
    width: 100%;
    min-height: 460px;
    object-fit: cover;
}

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

.service-card {
    min-height: 360px;
}

.package-card {
    padding: 42px 34px;
    border: 1px solid var(--line);
    text-align: center;
}

.package-card--featured {
    background: var(--blue);
    color: #fff;
    transform: translateY(-18px);
}

.package-card span {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 18px;
    border: 2px solid currentColor;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.package-card h3 {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
}

.package-card strong {
    display: block;
    margin: 10px 0;
    font-size: 42px;
    font-weight: 900;
}

.package-card p,
.package-card li {
    color: inherit;
    opacity: .78;
    line-height: 1.7;
}

.package-card .btn {
    margin-top: 24px;
}

.skill-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 26px;
    padding-bottom: 13px;
    font-weight: 900;
}

.skill-row::after,
.skill-row i {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
}

.skill-row::after {
    width: 100%;
    background: var(--line);
}

.skill-row i {
    width: var(--skill);
    background: var(--blue);
}

.circle-media {
    width: min(460px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    justify-self: center;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.filter-bar button {
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--ink);
    padding: 10px 2px;
    font: inherit;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.filter-bar button.active {
    color: var(--blue);
    border-color: var(--blue);
}

.masonry-grid {
    columns: 3 280px;
    column-gap: 22px;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
    break-inside: avoid;
}

.masonry-item[hidden] {
    display: none;
}

.masonry-item img {
    width: 100%;
}

.masonry-item div {
    padding: 24px;
}

.masonry-item h3 {
    margin: 8px 0;
    font-weight: 900;
    text-transform: uppercase;
}

.masonry-item p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
}

.contact-card,
.contact-form {
    padding: 44px;
}

.contact-card h2,
.contact-form h2 {
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-form {
    background: var(--soft);
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 8px;
    border: 0;
    background: #fff;
    padding: 16px;
    font: inherit;
}

.form-success {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #e8fff0;
    color: #08642f;
    font-weight: 800;
}

.form-error {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #fff1f0;
    color: #b42318;
    font-weight: 800;
}

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

.article-hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article-body {
    max-width: 820px;
    padding: 80px 0 110px;
}

.article-body span {
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
}

.article-body h1 {
    margin: 18px 0 28px;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
}

.article-body p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.not-found {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 150px 0;
    background: var(--ink);
    color: #fff;
    text-align: center;
}

.not-found strong {
    color: var(--blue);
    font-size: 120px;
    font-weight: 900;
}

.not-found h1 {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .site-header {
        position: absolute;
        inset: 16px 0 auto;
        min-height: 70px;
        width: min(100% - 30px, 1180px);
        padding-right: 12px;
    }

    .brand-mark {
        min-width: 158px;
        padding: 0 14px;
    }

    .brand-mark img {
        width: 132px;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 22;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        display: none;
        flex-direction: column;
        justify-content: center;
        background: rgba(0, 0, 0, .94);
        font-size: 18px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 132px 0 74px;
        background-position: 66% center;
    }

    .hero h1 {
        font-size: 58px;
    }

    .strip-grid,
    .split-grid,
    .philosophy-card,
    .bottom-cta__grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-row,
    .reason-grid,
    .testimonial-grid,
    .blog-grid,
    .service-grid,
    .package-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .social-rail {
        position: static;
        margin: 24px 15px 0;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 30px, 1180px);
    }

    .hero {
        padding: 116px 0 50px;
        background-position: 70% center;
    }

    .hero__shade {
        background: linear-gradient(180deg, rgba(3,3,14,.98) 0%, rgba(25,18,150,.86) 58%, rgba(37,26,255,.74) 100%);
    }

    .hero h1 {
        max-width: 12ch;
        margin-bottom: 18px;
        font-size: 39px;
        line-height: .96;
    }

    .hero p {
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 1.65;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .social-rail {
        display: none;
    }

    .service-strip {
        margin-top: 0;
        padding: 18px 0 0;
        background: var(--soft);
    }

    .strip-grid {
        gap: 12px;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .strip-grid article {
        grid-template-columns: 34px 1fr;
        min-height: auto;
        padding: 22px 20px;
        border: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 14px 36px rgba(8, 8, 22, .06);
    }

    .strip-grid h2 {
        font-size: 18px;
        line-height: 1.05;
    }

    .strip-grid p {
        margin: 0 6px 7px 0;
        padding: 6px 8px;
        font-size: 10px;
    }

    .page-hero h1,
    .article-body h1 {
        font-size: 42px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .mega-word {
        font-size: 96px;
        min-height: 210px;
    }

    .portfolio-row,
    .reason-grid,
    .testimonial-grid,
    .blog-grid,
    .service-grid,
    .package-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-pad,
    .split-section {
        padding: 76px 0;
    }

    .blue-card {
        min-height: auto;
        padding: 28px 22px;
    }

    .blue-card span {
        margin-bottom: 24px;
        font-size: 62px;
    }

    .portfolio-card,
    .portfolio-card img {
        min-height: 292px;
    }

    .testimonial {
        padding: 24px;
    }

    .testimonial p {
        min-height: auto;
    }

    .bottom-cta {
        padding: 48px 0 0;
    }

    .bottom-cta__grid {
        transform: none;
    }

    .bottom-cta__image {
        min-height: 220px;
    }

    .bottom-cta h2 {
        font-size: 28px;
        line-height: 1.05;
    }

    .site-footer {
        padding: 56px 0 0;
    }

    .footer-grid {
        gap: 28px;
    }

    .footer-bottom {
        margin-top: 36px;
    }

    .philosophy-card div,
    .bottom-cta__grid > div:last-child,
    .contact-card,
    .contact-form {
        padding: 30px;
    }
}
