:root {
    --band-body: #07101d;
    --band-hero: #091321;
    --band-surface: #0d1727;
    --band-surface-alt: #101b2f;
    --band-surface-soft: rgba(15, 23, 42, 0.82);
    --band-border: rgba(148, 163, 184, 0.14);
    --band-border-strong: rgba(148, 163, 184, 0.22);
    --band-shadow: 0 24px 70px rgba(2, 8, 23, 0.28);
    --band-container: 80rem;
    --band-container-wide: 90rem;
    --band-gutter: clamp(1.35rem, 3vw, 2.25rem);
    --band-space: clamp(4.5rem, 7.5vw, 6.5rem);
    --band-space-lg: clamp(5.75rem, 10vw, 8.25rem);
    --band-radius: 28px;
}

html {
    overflow-x: clip;
}

body {
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 32rem),
        linear-gradient(180deg, var(--band-body) 0%, #050b15 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 72%);
    z-index: -1;
}

.nav-wrapper {
    background: rgba(7, 16, 29, 0.88);
    border-bottom: 1px solid var(--band-border);
}

.nav,
.footer-inner,
.footer-links {
    max-width: var(--band-container-wide);
}

.nav {
    padding-inline: var(--band-gutter);
}

.nav-links {
    gap: clamp(1.15rem, 2vw, 2rem);
}

.nav-links a,
.footer-links a {
    letter-spacing: -0.01em;
}

.hero,
.blog-hero,
.article-header {
    position: relative;
    isolation: isolate;
}

.hero-media img {
    object-position: center 58%;
}

.hero-photo,
.blog-hero.hero-photo {
    overflow: hidden;
}

.hero-photo .hero-media,
.blog-hero.hero-photo .hero-media {
    display: none;
}

.hero-photo .shell,
.blog-hero.hero-photo .blog-hero-inner {
    position: relative;
    z-index: 2;
}

.hero-photo::before,
.blog-hero.hero-photo::before {
    z-index: 1;
}

body.page-services .hero-photo .hero-media img {
    object-position: center 40%;
}

body.page-industries .hero-photo .hero-media img {
    object-position: center 34%;
}

body.page-blog .blog-hero.hero-photo .hero-media img {
    object-position: center 52%;
}

body.page-services .hero.hero-photo {
    background:
        linear-gradient(90deg, rgba(7, 16, 29, 0.86) 0%, rgba(7, 16, 29, 0.56) 42%, rgba(7, 16, 29, 0.82) 100%),
        linear-gradient(180deg, rgba(7, 11, 22, 0.18) 0%, rgba(7, 11, 22, 0.72) 100%),
        url("/images/home/scorecard-1516321318423-f06f85e504b3.webp") center 38% / cover no-repeat,
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 28rem);
}

body.page-industries .hero.hero-photo {
    background:
        linear-gradient(90deg, rgba(7, 16, 29, 0.86) 0%, rgba(7, 16, 29, 0.58) 42%, rgba(7, 16, 29, 0.84) 100%),
        linear-gradient(180deg, rgba(7, 11, 22, 0.16) 0%, rgba(7, 11, 22, 0.72) 100%),
        url("/images/home/case-study-1517048676732-d65bc937f952.webp") center 36% / cover no-repeat,
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 28rem);
}

body.page-blog .blog-hero.hero-photo {
    background:
        linear-gradient(90deg, rgba(7, 16, 29, 0.84) 0%, rgba(7, 16, 29, 0.5) 42%, rgba(7, 16, 29, 0.8) 100%),
        linear-gradient(180deg, rgba(7, 11, 22, 0.18) 0%, rgba(7, 11, 22, 0.7) 100%),
        url("/images/home/hero-operations-1550751827-4bd374c3f58b.webp") center 54% / cover no-repeat,
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 28rem);
}

@keyframes bandHeroField {
    0% {
        background-position:
            12% 18%,
            86% 14%,
            50% 86%,
            -180% 0,
            0 0,
            0 0,
            0 0;
        opacity: 0.82;
    }

    50% {
        background-position:
            16% 24%,
            80% 12%,
            46% 80%,
            8% 0,
            0 0,
            0 0,
            0 0;
        opacity: 0.96;
    }

    100% {
        background-position:
            22% 30%,
            74% 18%,
            42% 76%,
            180% 0,
            0 0,
            0 0,
            0 0;
        opacity: 0.88;
    }
}

.hero::before,
.blog-hero::before,
.article-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 22%, rgba(34, 211, 238, 0.2), transparent 22rem),
        radial-gradient(circle at 82% 24%, rgba(99, 102, 241, 0.18), transparent 26rem),
        radial-gradient(circle at 50% 86%, rgba(34, 211, 238, 0.1), transparent 18rem),
        linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, 0.14) 44%, rgba(34, 211, 238, 0.12) 48%, rgba(255, 255, 255, 0.08) 52%, transparent 68%),
        linear-gradient(120deg, rgba(34, 211, 238, 0.12), transparent 28%, transparent 72%, rgba(99, 102, 241, 0.12)),
        linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
    background-size:
        auto,
        auto,
        auto,
        220% 220%,
        auto,
        112px 112px,
        112px 112px;
    background-position:
        12% 18%,
        86% 14%,
        50% 86%,
        -180% 0,
        0 0,
        0 0,
        0 0;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.68) 76%, transparent 100%);
    filter: saturate(118%);
    opacity: 0.9;
    animation: bandHeroField 18s ease-in-out infinite alternate;
}

body.landing-page .hero::before,
.blog-hero::before,
.article-header::before {
    background:
        radial-gradient(circle at 14% 20%, rgba(34, 211, 238, 0.22), transparent 20rem),
        radial-gradient(circle at 84% 22%, rgba(99, 102, 241, 0.2), transparent 24rem),
        radial-gradient(circle at 48% 84%, rgba(34, 211, 238, 0.12), transparent 16rem),
        linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, 0.14) 44%, rgba(34, 211, 238, 0.14) 48%, rgba(255, 255, 255, 0.08) 52%, transparent 68%),
        linear-gradient(120deg, rgba(34, 211, 238, 0.14), transparent 26%, transparent 70%, rgba(99, 102, 241, 0.12)),
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    opacity: 0.96;
}

.hero-home::before {
    background:
        radial-gradient(circle at 18% 24%, rgba(34, 211, 238, 0.16), transparent 18rem),
        radial-gradient(circle at 82% 22%, rgba(99, 102, 241, 0.14), transparent 22rem),
        radial-gradient(circle at 52% 88%, rgba(34, 211, 238, 0.08), transparent 14rem),
        linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.12) 46%, rgba(34, 211, 238, 0.08) 50%, rgba(255, 255, 255, 0.06) 54%, transparent 68%),
        linear-gradient(120deg, rgba(34, 211, 238, 0.08), transparent 24%, transparent 72%, rgba(99, 102, 241, 0.08)),
        linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
    opacity: 0.48;
    mix-blend-mode: screen;
}

.hero-home {
    background:
        linear-gradient(180deg, rgba(7, 16, 29, 0.3), rgba(7, 16, 29, 0.64)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 28rem);
}

.hero-home .hero-media::after {
    background: linear-gradient(180deg, rgba(7, 11, 22, 0.42) 0%, rgba(7, 11, 22, 0.76) 78%);
}

.hero::after,
.blog-hero::after,
.article-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.18), transparent);
}

.hero-inner,
body.landing-page .shell,
body.landing-page .hero .shell,
.product-section,
.posts-section,
.article-header .article-header-inner,
.article-body,
.article-footer,
.contact-inner {
    max-width: var(--band-container-wide);
}

.hero,
body.landing-page .hero,
.blog-hero,
.article-header {
    box-shadow: 0 0 0 100vmax var(--band-hero);
    clip-path: inset(0 -100vmax);
    background:
        linear-gradient(180deg, rgba(7, 16, 29, 0.72), rgba(7, 16, 29, 0.9)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 28rem);
}

.hero-inner,
body.landing-page .hero .shell {
    padding-top: clamp(4rem, 7vw, 5.5rem);
    padding-bottom: clamp(4rem, 7vw, 5.5rem);
}

.hero-inner {
    width: min(100%, 70rem);
    margin-left: auto;
    margin-right: auto;
    display: grid;
    min-height: clamp(24rem, 58vh, 32rem);
    grid-template-columns: minmax(0, 42rem) minmax(17rem, 21rem);
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.hero-inner > :not(.credentials) {
    grid-column: 1;
    align-self: start;
}

.hero .credentials {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
    align-self: center;
    justify-self: end;
    width: min(100%, 21rem);
}

.credentials-inner {
    display: grid;
    gap: 0.9rem;
    align-content: center;
}

.credentials-inner > div {
    padding: 1rem 1.1rem;
    background: rgba(8, 15, 30, 0.74);
    border: 1px solid var(--band-border);
    border-radius: 18px;
    box-shadow: var(--band-shadow);
}

.credentials-inner .value {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 700;
}

.hero h1 {
    max-width: 11.5ch;
}

.hero p,
body.landing-page .hero .lead,
body.landing-page .hero .promise {
    max-width: 42rem;
}

.hero-badge,
.hero-btns {
    justify-self: start;
    width: fit-content;
    max-width: 100%;
}

body.landing-page .hero-grid {
    width: min(100%, 70rem);
    margin-left: auto;
    margin-right: auto;
    min-height: clamp(22rem, 52vh, 30rem);
    grid-template-columns: minmax(0, 42rem) minmax(18rem, 24rem);
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

body.landing-page .hero h1 {
    max-width: 11ch;
}

body.landing-page .hero-aside {
    padding: 1.7rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17, 29, 48, 0.92), rgba(10, 18, 32, 0.98));
    border: 1px solid var(--band-border-strong);
    box-shadow: var(--band-shadow);
    align-self: center;
    justify-self: end;
    width: min(100%, 24rem);
}

.section-bg,
.products-spotlight,
.blog-preview,
.contact-section,
.blog-hero,
.posts-section,
.article-body,
.article-footer,
.product-section,
.footer,
body.landing-page main > .section,
body:not(.landing-page) > .section,
body:not(.landing-page) > .why-craft {
    position: relative;
    isolation: isolate;
}

.section-bg,
.blog-preview,
.posts-section,
.article-body,
.contact-section,
body.landing-page main > .section:nth-of-type(odd),
body:not(.landing-page) > .section:nth-of-type(odd),
body:not(.landing-page) > .why-craft,
.product-section:nth-of-type(odd) {
    box-shadow: 0 0 0 100vmax var(--band-surface);
    clip-path: inset(0 -100vmax);
    background: var(--band-surface);
}

.products-spotlight,
.article-footer,
.footer,
body.landing-page main > .section:nth-of-type(even),
body:not(.landing-page) > .section:nth-of-type(even),
.product-section:nth-of-type(even) {
    box-shadow: 0 0 0 100vmax var(--band-surface-alt);
    clip-path: inset(0 -100vmax);
    background: var(--band-surface-alt);
}

.section,
.product-section,
.posts-section,
.article-body,
.article-footer {
    padding-top: var(--band-space);
    padding-bottom: var(--band-space);
}

.section,
.contact-inner,
.product-section,
.posts-section,
.article-body,
.article-footer,
.footer-inner {
    width: min(100%, var(--band-container-wide));
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--band-gutter);
    padding-right: var(--band-gutter);
}

.section-header,
.section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: clamp(2rem, 3vw, 3rem);
    max-width: 46rem;
}

.section-header h2,
.section-head h2 {
    max-width: 14ch;
    margin: 0;
}

.section-header p,
.section-head p {
    max-width: 42rem;
    justify-self: start;
}

.section-head.section-head-wide,
.section-header.section-head-wide {
    max-width: 50rem;
}

.services-grid,
.offers-grid,
.why-grid,
.projects-grid,
.blog-grid,
.grid-3,
.grid-4,
.snapshot-grid,
.deliverables-grid,
.posts-grid {
    gap: clamp(1.1rem, 2vw, 1.6rem);
}

body.landing-page .grid-3,
body.landing-page .grid-4,
body.landing-page .snapshot-grid,
body.landing-page .proof-grid,
body.landing-page .deliverables-grid,
body.landing-page .timeline,
body.landing-page .faq-grid,
body.landing-page .why-grid {
    gap: clamp(1.25rem, 2vw, 1.75rem);
}

.card-elevated,
.card-standard,
.card-subtle,
.panel,
.panel-soft,
.proof-snapshot,
.deliverable-card,
.product-card,
.post-card,
.article-offer-card,
.article-bottom-band-card {
    border-color: var(--band-border);
    box-shadow: var(--band-shadow);
    border-radius: var(--band-radius);
}

.service-card,
.offer-card,
.project-card,
.blog-card,
.panel,
.panel-soft,
.proof-snapshot,
.deliverable-card,
.product-info,
.post-card {
    text-align: left;
}

.product-section {
    padding-inline: var(--band-gutter);
}

.product-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 30, 0.98));
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.product-card-inner {
    align-items: stretch;
}

.product-card:nth-of-type(even) .product-card-inner {
    direction: rtl;
}

.product-card:nth-of-type(even) .product-info,
.product-card:nth-of-type(even) .product-visual {
    direction: ltr;
}

.product-info,
.product-visual {
    padding: clamp(1.75rem, 4vw, 3rem);
}

.product-info h2 {
    max-width: 11ch;
}

.blog-hero {
    max-width: none;
    padding: var(--band-space-lg) var(--band-gutter) calc(var(--band-space) - 1rem);
    text-align: left;
}

.blog-hero-inner {
    width: min(100%, 70rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--band-gutter);
    padding-right: var(--band-gutter);
    display: grid;
    grid-template-columns: minmax(0, 40rem) minmax(18rem, 24rem);
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.blog-hero-copy {
    max-width: 40rem;
}

.blog-hero .badge,
.blog-hero h1,
.blog-hero p {
    max-width: var(--band-container);
    margin-left: auto;
    margin-right: auto;
}

.blog-hero-copy .badge,
.blog-hero-copy h1,
.blog-hero-copy p {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.blog-hero h1 {
    max-width: 12ch;
}

.blog-hero-copy p {
    max-width: 38rem;
}

.blog-hero .hero-aside {
    padding: 1.55rem;
    border-radius: 24px;
    border: 1px solid var(--band-border-strong);
    background: linear-gradient(180deg, rgba(17, 29, 48, 0.92), rgba(10, 18, 32, 0.98));
    box-shadow: var(--band-shadow);
    align-self: center;
    justify-self: end;
    width: min(100%, 24rem);
}

.blog-hero .statline {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #67e8f9;
}

.blog-hero .list-quiet {
    display: grid;
    gap: 0.85rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-hero .list-quiet li {
    position: relative;
    padding-left: 1.1rem;
    color: #e2e8f0;
    line-height: 1.55;
}

.blog-hero .list-quiet li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--accent, #22d3ee);
}

.posts-section {
    max-width: var(--band-container-wide);
    padding-inline: var(--band-gutter);
}

.posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.post-card {
    padding: 1.55rem;
}

.article-header {
    padding-top: var(--band-space-lg);
    padding-bottom: calc(var(--band-space) - 1rem);
    text-align: left;
}

.article-header > *,
.article-header .article-header-inner {
    max-width: var(--band-container);
    margin-left: auto;
    margin-right: auto;
}

.article-header .article-header-inner {
    display: grid;
    gap: 1rem;
}

.article-subhead {
    max-width: 42rem;
    margin-left: 0;
}

.article-meta {
    justify-content: flex-start;
}

.article-body,
.article-footer {
    max-width: var(--band-container);
    padding-inline: var(--band-gutter);
}

.article-body > * {
    max-width: 42rem;
}

.article-body .article-note,
.article-body .article-offer,
.article-body .article-bottom-band,
.article-body figure,
.article-body pre,
.article-body table,
.article-body .comparison-panel {
    max-width: 48rem;
}

.footer {
    margin-top: 0;
}

.footer-inner {
    padding-top: calc(var(--band-space) - 1.5rem);
    padding-bottom: calc(var(--band-space) - 1.75rem);
}

.contact-inner {
    padding-top: var(--band-space);
    padding-bottom: var(--band-space);
}

@media (max-width: 980px) {
    .hero-inner,
    body.landing-page .hero-grid,
    .blog-hero-inner,
    .product-card-inner,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .product-card:nth-of-type(even) .product-card-inner {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .hero,
    body.landing-page .hero,
    .blog-hero,
    .article-header {
        padding-top: clamp(4rem, 10vw, 5rem);
    }

    .hero h1,
    body.landing-page .hero h1,
    .blog-hero h1,
    .section-header h2,
    .section-head h2,
    .product-info h2 {
        max-width: none;
    }

    .hero-inner {
        min-height: auto;
    }

    .hero .credentials {
        grid-column: auto;
        grid-row: auto;
        align-self: stretch;
    }

    .blog-hero .hero-aside {
        max-width: none;
    }

    .section,
    .product-section,
    .posts-section,
    .article-body,
    .article-footer,
    .contact-inner {
        padding-top: clamp(3rem, 8vw, 4rem);
        padding-bottom: clamp(3rem, 8vw, 4rem);
    }
}
