:root {
    --color-dark: #0f2227;
    --color-dark-layer: #193137;
    --color-dark-header: #0b1a1f;
    --color-yellow: #ffcb05;
    --color-white: #ffffff;

    --text-dark: #0f2227;
    --text-light: #ffffff;

    --font-base: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-size-100: 0.875rem;
    --font-size-200: 1rem;
    --font-size-300: 1.125rem;
    --font-size-400: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
    --font-size-500: clamp(1.75rem, 1.35rem + 2vw, 2.5rem);
    --font-size-600: clamp(2.2rem, 1.9rem + 3vw, 3.8rem);

    --space-xs: 0.5rem;
    --space-sm: 0.875rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;

    --container-max: 1240px;
    --container-padding: clamp(1rem, 2.5vw, 2rem);

    --border-thick: 3px solid var(--color-yellow);
    --border-featured: 4px solid var(--color-yellow);

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;

    --transition-fast: 180ms ease;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    font-size: var(--font-size-200);
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 {
    font-size: var(--font-size-600);
}

h2 {
    font-size: var(--font-size-500);
}

h3 {
    font-size: var(--font-size-400);
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.container {
    width: min(100% - (var(--container-padding) * 2), var(--container-max));
    margin-inline: auto;
}

.section-dark,
.section-light {
    padding-block: var(--space-xxl);
}

.section-dark {
    background: var(--color-dark);
    color: var(--text-light);
}

.section-light {
    background: var(--color-white);
    color: var(--text-dark);
}

.stack-sm > * + * {
    margin-top: var(--space-sm);
}

.stack-md > * + * {
    margin-top: var(--space-md);
}

.stack-lg > * + * {
    margin-top: var(--space-lg);
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--font-size-100);
    font-weight: 700;
    color: var(--color-yellow);
}

.lead {
    font-size: var(--font-size-300);
    max-width: 65ch;
}

.site-header,
.site-footer {
    padding-block: var(--space-md);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-dark-header);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-md);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-brand img {
    display: block;
    height: 40px;
    width: auto;
}

.footer-shell {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.footer-shell--centered {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: var(--space-lg);
}

.footer-newsletter {
    max-width: 46ch;
}

.footer-newsletter__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 800;
    font-size: clamp(1rem, 0.95rem + 0.2vw, 1.12rem);
    color: rgba(255, 255, 255, 0.58);
}

.footer-newsletter__copy {
    font-size: clamp(1.2rem, 1rem + 0.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.footer-newsletter__button {
    min-width: 210px;
}

.footer-brand {
    min-width: 0;
}

.footer-brand__logo {
    display: inline-flex;
    justify-content: center;
}

.footer-brand__logo img {
    display: block;
    height: clamp(52px, 5vw, 64px);
    width: auto;
}

.footer-contact {
    display: grid;
    gap: 0.2rem;
    max-width: 42ch;
    justify-items: center;
}

.footer-contact-link {
    display: block;
    text-decoration: none;
    color: var(--color-white);
    font-size: clamp(0.9rem, 0.86rem + 0.16vw, 0.98rem);
    font-weight: 500;
    opacity: 0.92;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
    color: var(--color-yellow);
    opacity: 1;
}

.footer-contact-link--phone {
    font-size: clamp(0.9rem, 0.86rem + 0.16vw, 0.98rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.footer-nav {
    justify-self: center;
    min-width: 0;
}

.footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.85rem, 0.7rem + 0.5vw, 1.5rem);
}

.footer-nav__list a {
    color: var(--color-white);
    text-decoration: none;
    font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.05rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
    transition: color var(--transition-fast);
}

.footer-nav__list a:hover,
.footer-nav__list a:focus-visible {
    color: var(--color-yellow);
}

.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.6rem, 0.45rem + 0.4vw, 1rem);
}

.footer-social li,
.footer-nav__list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: var(--border-thick);
    color: var(--color-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover,
.footer-social a:focus-visible {
    transform: translateY(-2px);
    background: var(--color-yellow);
    color: var(--color-dark);
}

.footer-social__icon {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
}

.footer-social__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-bottom {
    margin-top: 0;
    padding-top: var(--space-md);
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: var(--font-size-100);
    color: rgba(255, 255, 255, 0.74);
}

.menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: var(--space-md);
}

.menu a {
    text-decoration: none;
    font-weight: 600;
}

.site-nav {
    justify-self: center;
}

.menu--primary {
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 1.6vw, 2.15rem);
}

.menu--primary a {
    font-size: clamp(0.84rem, 0.78rem + 0.22vw, 1.02rem);
    letter-spacing: 0.01em;
    font-weight: 800;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.menu--primary a:hover,
.menu--primary a:focus-visible {
    color: var(--color-yellow);
}

.site-header-cta {
    font-size: clamp(0.84rem, 0.8rem + 0.15vw, 0.95rem);
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    padding-inline: 1.2rem;
}

.site-header-cta-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.55rem;
    justify-self: end;
}

.site-header-cta--secondary {
    border-width: 2px;
}

.site-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.24rem;
    width: 2.75rem;
    height: 2.75rem;
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
}

.site-nav-toggle__bar {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.site-nav-toggle:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(1) {
    transform: translateY(0.38rem) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(3) {
    transform: translateY(-0.38rem) rotate(-45deg);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.button-row.wp-block-buttons {
    gap: var(--space-sm);
}

.button-row .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.2rem;
    border: var(--border-thick);
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.button-row .wp-block-button__link:hover,
.button-row .wp-block-button__link:focus-visible,
.wp-block-button.button-primary .wp-block-button__link:hover,
.wp-block-button.button-primary .wp-block-button__link:focus-visible,
.wp-block-button.button-secondary .wp-block-button__link:hover,
.wp-block-button.button-secondary .wp-block-button__link:focus-visible {
    transform: translateY(-2px);
}

.wp-block-button.button-primary .wp-block-button__link {
    background: var(--color-yellow);
    color: var(--color-dark);
}

.wp-block-button.button-secondary .wp-block-button__link {
    background: transparent;
    color: var(--color-white);
}

.section-light .wp-block-button.button-secondary .wp-block-button__link {
    color: var(--color-dark);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.2rem;
    border: var(--border-thick);
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--color-yellow);
    color: var(--color-dark);
}

.button-secondary {
    background: transparent;
    color: var(--color-white);
}

.section-light .button-secondary {
    color: var(--color-dark);
}

.range-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--color-yellow);
    color: var(--color-dark);
    font-size: var(--font-size-100);
    font-weight: 700;
}

.framed-card {
    border: var(--border-thick);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    background: var(--color-white);
    color: var(--color-dark);
}

.framed-card-featured {
    border: var(--border-featured);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.services-snapshot__featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.service-card--large {
    gap: var(--space-md);
}

.service-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--space-md);
    align-items: center;
}

.service-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card--large .service-card__header > * + * {
    margin-top: var(--space-md);
}

.service-card__image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.service-card__image--large {
    justify-content: flex-start;
}

.service-card__image img {
    display: block;
    max-width: 96px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service-card__image--large img {
    max-width: 220px;
}

.service-card__title {
    text-align: center;
}

.service-card__text {
    margin: 0;
}

.service-card__range {
    align-self: center;
}

.service-card__actions {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.service-card__actions .button {
    min-width: 180px;
    justify-content: center;
}

.services-snapshot-section {
    background: #ececee;
}

.page-template-page-homepage .section-light:not(.hero-section) > .container > .eyebrow,
.page-template-page-homepage .section-light:not(.hero-section) > .container > h2,
.page-template-page-homepage .section-dark:not(.hero-section) > .container > .eyebrow,
.page-template-page-homepage .section-dark:not(.hero-section) > .container > h2,
.page-template-page-homepage-php .section-light:not(.hero-section) > .container > .eyebrow,
.page-template-page-homepage-php .section-light:not(.hero-section) > .container > h2,
.page-template-page-homepage-php .section-dark:not(.hero-section) > .container > .eyebrow,
.page-template-page-homepage-php .section-dark:not(.hero-section) > .container > h2,
.page-template-page-homepage .cta-block > .eyebrow,
.page-template-page-homepage .cta-block > h2,
.page-template-page-homepage-php .cta-block > .eyebrow,
.page-template-page-homepage-php .cta-block > h2 {
    text-align: center;
}

.page-template-page-homepage .section-light:not(.hero-section) .eyebrow,
.page-template-page-homepage .section-dark:not(.hero-section) .eyebrow,
.page-template-page-homepage-php .section-light:not(.hero-section) .eyebrow,
.page-template-page-homepage-php .section-dark:not(.hero-section) .eyebrow {
    display: block;
    width: 100%;
    text-align: center;
}

.services-snapshot-section .eyebrow {
    color: #6e7882;
}

.services-snapshot-section h2 {
    color: var(--color-dark);
}

.services-snapshot__header {
    text-align: center;
}

.services-snapshot__small-grid .service-card {
    border: 1px solid #e4e8ec;
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: 0 10px 22px rgba(16, 34, 39, 0.1);
    overflow: hidden;
    padding: 0;
    gap: 0;
}

.services-snapshot__small-grid .service-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0;
    background: #f3f4f6;
}

.services-snapshot__small-grid .service-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.services-snapshot__small-grid .service-card__title {
    margin: var(--space-md) var(--space-md) var(--space-sm);
    min-height: 2.6em;
}

.services-snapshot__small-grid .service-card__actions {
    margin: 0 var(--space-md) var(--space-md);
}

.services-snapshot-section .work-section__actions .button-primary {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.trusted-by-section {
    background: var(--color-white);
    padding-block: var(--space-lg);
}

.trusted-by {
    align-items: center;
}

.trusted-by__title {
    text-align: center;
    font-size: var(--font-size-100);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-yellow);
}

.trusted-by__carousel {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trusted-by__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: trusted-by-scroll 28s linear infinite;
}

.trusted-by__item {
    flex: 0 0 auto;
    width: clamp(110px, 14vw, 170px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--space-md);
}

.trusted-by__item img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@keyframes trusted-by-scroll {
    from {
        transform: translateX(0);
    }

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

.homepage-feature-banner {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-block: clamp(2.8rem, 5vw, 4.8rem);
}

.homepage-feature-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.homepage-feature-banner .container {
    position: relative;
    z-index: 1;
}

.homepage-feature-banner__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.4rem);
}

.homepage-feature-banner--content-right .homepage-feature-banner__content {
    order: 2;
}

.homepage-feature-banner--content-right .homepage-feature-banner__media {
    order: 1;
}

.homepage-feature-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: clamp(260px, 30vw, 420px);
    color: var(--text-dark);
}

.homepage-feature-banner__content h2 {
    color: inherit;
    margin: 0;
}

.homepage-feature-banner__subline {
    margin: 0;
    max-width: 46ch;
    font-size: var(--font-size-300);
    color: inherit;
}

.homepage-feature-banner__actions {
    margin-top: var(--space-xs);
}

.homepage-feature-banner__media {
    width: 100%;
    min-height: clamp(260px, 30vw, 420px);
    border-radius: var(--radius-md);
    overflow: hidden;
    transform: translateX(120px) scale(0.985);
    opacity: 0;
    will-change: transform, opacity;
}

.homepage-feature-banner__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-feature-banner--dark .homepage-feature-banner__content {
    color: var(--text-light);
}

.homepage-feature-banner__media.is-in-view {
    animation: banner-media-slide-in 860ms cubic-bezier(0.2, 0.8, 0.18, 1) forwards;
}

.homepage-feature-banner--content-right .homepage-feature-banner__media {
    transform: translateX(-120px) scale(0.985);
}

@keyframes banner-media-slide-in {
    0% {
        opacity: 0;
        transform: translateX(var(--banner-media-start-x, 120px)) scale(0.985);
    }

    70% {
        opacity: 1;
        transform: translateX(-10px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.homepage-feature-banner--content-right .homepage-feature-banner__media {
    --banner-media-start-x: -120px;
}

@media (prefers-reduced-motion: reduce) {
    .homepage-feature-banner__media,
    .homepage-feature-banner--content-right .homepage-feature-banner__media {
        transform: none;
        opacity: 1;
        animation: none;
        transition: none;
    }
}

.service-panel {
    padding: var(--space-lg);
}

.service-panel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: var(--space-lg);
    align-items: stretch;
}

.service-panel__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-panel__title {
    margin: 0;
}

.service-panel__range {
    align-self: center;
}

.service-panel__deliverables {
    width: 100%;
    max-width: 36rem;
    text-align: left;
    margin: 0;
    padding-left: 1.2rem;
}

.service-panel__actions {
    margin-top: auto;
    justify-content: center;
}

.service-panel__media {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-dark-layer);
    min-height: 320px;
}

.service-panel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-panel__media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: linear-gradient(140deg, var(--color-dark-layer), var(--color-dark));
}

.intro-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: var(--space-lg);
    align-items: start;
}

.intro-hero-form {
    align-self: center;
}

.service-timeline {
    font-size: var(--font-size-100);
    font-weight: 700;
    opacity: 0.9;
}

.disclaimer-strip {
    font-size: var(--font-size-100);
    text-align: center;
}

.text-link {
    font-weight: 700;
    text-underline-offset: 0.2em;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

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

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

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

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    inset: auto -10% -45% auto;
    width: min(42rem, 62vw);
    height: auto;
    opacity: 0.08;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.case-study-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition-fast);
}

.case-study-card:hover,
.case-study-card:focus-within {
    transform: translateY(-4px);
}

.case-study-card__media {
    aspect-ratio: 4 / 3;
    background: var(--color-dark-layer);
    border-radius: 0.375rem;
    overflow: hidden;
}

.case-study-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-study-card__meta {
    font-size: var(--font-size-100);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.work-carousel {
    position: relative;
}

.work-carousel__viewport {
    overflow: hidden;
}

.work-carousel__track {
    display: flex;
    gap: var(--space-md);
    transition: transform var(--transition-fast);
    will-change: transform;
}

.work-carousel-card {
    flex: 0 0 calc((100% - (var(--space-md) * 2)) / 3);
    min-width: 0;
    background: transparent;
    color: var(--color-white);
    border: 0;
    padding: 0;
}

.work-carousel-card .case-study-card__media {
    border-radius: var(--radius-md);
}

.work-carousel-card .case-study-card__meta {
    color: var(--color-yellow);
    margin-top: var(--space-sm);
}

.work-carousel-card h3 {
    color: var(--color-white);
}

.work-carousel__arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: var(--border-thick);
    background: var(--color-yellow);
    color: var(--color-dark);
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    font-size: 2.35rem;
    line-height: 0.8;
    font-weight: 800;
    font-family: inherit;
    text-indent: 0;
    cursor: pointer;
    z-index: 2;
}

.work-carousel__arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.work-carousel__arrow--prev {
    left: -1.25rem;
}

.work-carousel__arrow--next {
    right: -1.25rem;
}

.work-section__actions {
    justify-content: center;
}

.package-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
    position: relative;
}

.package-card-v2 {
    padding: 0;
    overflow: hidden;
}

.package-card__feature-banner {
    width: 100%;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.85rem 0.75rem;
    background: var(--color-yellow);
    color: var(--color-dark);
}

.package-card__feature-banner.feature-best_value {
    background: var(--color-dark);
    color: var(--color-white);
}

.package-card__feature-banner.feature-most_popular {
    background: var(--color-yellow);
    color: var(--color-dark);
}

.package-card__feature-banner.feature-highest_impact {
    background: var(--color-dark-layer);
    color: var(--color-white);
}

.package-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg);
    flex: 1;
}

.package-card__title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-align: center;
}

.package-card__title-row h3 {
    margin: 0;
}

.package-card__title-row .range-pill {
    align-self: center;
}

.package-card__actions {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.package-card__actions .button {
    min-width: 220px;
    justify-content: center;
}

.package-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.popular-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    background: var(--color-yellow);
    color: var(--color-dark);
    font-size: var(--font-size-100);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.65rem;
}

.process-grid {
    counter-reset: process-step;
}

.process-step {
    position: relative;
    border: var(--border-thick);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md) var(--space-md);
    background: transparent;
}

.process-step::before {
    counter-increment: process-step;
    content: counter(process-step);
    position: absolute;
    top: 0.35rem;
    right: 0.75rem;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 203, 5, 0.22);
}

.cta-block {
    border: var(--border-thick);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    background: var(--color-dark-layer);
    color: var(--color-white);
}

.cta-block .button-secondary {
    color: var(--color-white);
}

.tempo-form {
    display: grid;
    gap: var(--space-md);
}

.tempo-form__field {
    display: grid;
    gap: var(--space-xs);
}

.tempo-form__field > label > span {
    display: inline-block;
    font-size: var(--font-size-100);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.tempo-form input[type="text"],
.tempo-form input[type="email"],
.tempo-form input[type="tel"],
.tempo-form textarea,
.tempo-form select {
    width: 100%;
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--text-dark);
    font: inherit;
    padding: 0.72rem 0.85rem;
    line-height: 1.35;
}
    .tempo-popup-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: grid;
        place-items: center;
        padding: clamp(0.9rem, 2vw, 1.5rem);
        background: rgba(11, 26, 31, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: opacity 220ms ease, visibility 220ms ease;
    }
    .tempo-popup-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }
    .tempo-popup {
        position: relative;
        width: min(1120px, 100%);
        max-height: min(92vh, 960px);
        overflow: auto;
        background: #e9ecef;
        background-size: cover;
        background-position: center;
        border-radius: var(--radius-md);
        box-shadow: 0 28px 60px rgba(11, 26, 31, 0.35);
        color: var(--color-dark);
    }
    .tempo-popup__close {
        position: absolute;
        top: 0.8rem;
        right: 0.8rem;
        z-index: 2;
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 999px;
        border: 0;
        font-size: 1.35rem;
        line-height: 1;
        font-weight: 700;
        cursor: pointer;
        color: var(--color-dark);
        background: rgba(255, 255, 255, 0.88);
    }
    .tempo-popup__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        min-height: clamp(320px, 48vw, 560px);
    }
    .tempo-popup__content,
    .tempo-popup__secondary {
        padding: clamp(1.2rem, 3vw, 2.6rem);
    }
    .tempo-popup__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .tempo-popup__content h2 {
        margin: 0;
        color: inherit;
    }
    .tempo-popup__subline {
        margin: 0;
        max-width: 42ch;
        color: inherit;
        font-size: var(--font-size-300);
    }
    .tempo-popup__actions {
        margin-top: var(--space-xs);
    }
    .tempo-popup__secondary {
        display: flex;
        align-items: stretch;
        justify-content: center;
        min-height: clamp(250px, 38vw, 520px);
    }

    .tempo-popup__form-wrap {
        width: min(100%, 560px);
        display: grid;
        gap: var(--space-md);
        align-content: center;
    }

    .tempo-popup__form-wrap .tempo-form__title {
        margin: 0;
    }

    .tempo-popup__form-wrap .tempo-form {
        gap: var(--space-sm);
    }

    .tempo-popup__form-wrap .tempo-form__field > label {
        display: grid;
        gap: var(--space-xs);
    }

    .tempo-popup__form-wrap .tempo-form__submit {
        width: fit-content;
        min-width: 168px;
        min-height: 0;
        padding: 0.72rem 1.2rem;
        align-self: flex-start;
    }
    .tempo-popup__media {
        width: 100%;
        border-radius: var(--radius-md);
        overflow: hidden;
    }
    .tempo-popup__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .tempo-popup--content-right .tempo-popup__content {
        order: 2;
    }
    .tempo-popup--content-right .tempo-popup__secondary {
        order: 1;
    }
    .tempo-popup--dark {
        color: var(--text-light);
    }
    body.tempo-popup-open {
        overflow: hidden;
    }

.tempo-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.tempo-form input:focus-visible,
.tempo-form textarea:focus-visible,
.tempo-form select:focus-visible,
.tempo-form__checkboxes input:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
}

.tempo-form__checkboxes {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.tempo-form__checkboxes label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--font-size-100);
    font-weight: 600;
}

.tempo-form__checkboxes input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    accent-color: var(--color-dark);
}

.tempo-form__submit {
    width: fit-content;
    cursor: pointer;
}

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

.tempo-form__title {
    margin: 0 0 var(--space-sm);
    font-size: var(--font-size-400);
    line-height: 1.2;
}

.tempo-form-notice {
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.95rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.tempo-form-notice-success {
    background: var(--color-yellow);
    color: var(--color-dark);
}

.tempo-form-notice-error {
    background: var(--color-dark);
    color: var(--color-white);
}

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

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

    .work-carousel-card {
        flex-basis: calc((100% - var(--space-md)) / 2);
    }
}

@media (max-width: 700px) {
    .section-dark,
    .section-light {
        padding-block: var(--space-xl);
    }

    .site-header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1300;
        padding-block: 0.62rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 8px 18px rgba(15, 34, 39, 0.18);
    }

    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        position: relative;
        gap: 0.55rem;
    }

    .site-nav-toggle {
        display: inline-flex;
        margin-left: 0;
        width: 2.55rem;
        height: 2.55rem;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% - 1px);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-fast);
    }

    .site-nav.is-open {
        max-height: 80vh;
    }

    .site-nav .menu {
        display: grid;
        gap: 0;
        width: min(100% - (var(--container-padding) * 2), var(--container-max));
        margin-inline: auto;
        margin-top: 0;
        margin-bottom: var(--space-sm);
        border: var(--border-thick);
        border-radius: var(--radius-sm);
        overflow: hidden;
        background: var(--color-dark-layer);
    }

    .site-header-cta-group {
        display: inline-flex;
        flex-wrap: nowrap;
        gap: 0.4rem;
        justify-self: center;
    }

    .site-header-cta {
        min-height: 2.32rem;
        padding: 0.38rem 0.52rem;
        font-size: 0.7rem;
        line-height: 1;
        border-width: 2px;
        flex: 0 0 auto;
    }

    .site-nav .menu li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .site-nav .menu a {
        display: block;
        width: 100%;
        padding: 0.72rem 0.9rem;
        text-decoration: none;
        font-size: var(--font-size-100);
        line-height: 1.15;
    }

    .site-nav .menu a:focus-visible {
        outline: 2px solid var(--color-yellow);
        outline-offset: -2px;
    }

    .site-brand img {
        height: 28px;
    }

    .site-main {
        padding-bottom: 0;
    }

    .site-footer {
        padding-bottom: var(--space-xl);
    }

    .footer-shell {
        padding: 0;
    }

    .footer-shell--centered,
    .footer-shell--centered .footer-newsletter,
    .footer-shell--centered .footer-brand,
    .footer-shell--centered .footer-contact,
    .footer-shell--centered .footer-nav,
    .footer-shell--centered .footer-bottom {
        justify-self: center;
        text-align: center;
    }

    .footer-newsletter__button {
        margin-inline: auto;
    }

    .footer-brand__logo img {
        height: 52px;
    }

    .footer-contact-link {
        font-size: var(--font-size-100);
    }

    .footer-contact-link--phone {
        font-size: var(--font-size-100);
    }

    .footer-nav {
        justify-self: center;
    }

    .footer-nav__list {
        justify-content: center;
        gap: 0.65rem;
    }

    .footer-social {
        justify-content: center;
    }

    .trusted-by-section {
        padding-block: var(--space-md);
    }

    .trusted-by__item {
        width: clamp(100px, 30vw, 140px);
        height: 54px;
        padding-inline: var(--space-sm);
    }

    .trusted-by__item img {
        max-height: 40px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .services-snapshot__featured {
        grid-template-columns: 1fr;
    }

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

    .service-card__top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-card__image--large {
        justify-content: center;
    }

    .service-card__image--large img {
        max-width: 176px;
    }

    .services-snapshot__small-grid .service-card__actions .button {
        min-width: 0;
        width: 100%;
    }

    .homepage-feature-banner__layout {
        grid-template-columns: 1fr;
    }

    .homepage-feature-banner__content,
    .homepage-feature-banner__media,
    .homepage-feature-banner--content-right .homepage-feature-banner__content,
    .homepage-feature-banner--content-right .homepage-feature-banner__media {
        order: initial;
    }

    .tempo-popup {
        max-height: 96vh;
    }

    .tempo-popup__layout {
        grid-template-columns: 1fr;
    }

    .tempo-popup__content,
    .tempo-popup__secondary,
    .tempo-popup--content-right .tempo-popup__content,
    .tempo-popup--content-right .tempo-popup__secondary {
        order: initial;
    }

    .tempo-popup__secondary {
        min-height: 220px;
    }

    .tempo-popup__form-wrap {
        width: 100%;
        align-content: start;
    }

    .tempo-popup__form-wrap .tempo-form__submit {
        width: 100%;
        min-width: 0;
        align-self: stretch;
    }

    .tempo-popup__close {
        position: fixed;
        top: max(0.8rem, env(safe-area-inset-top));
        right: max(0.8rem, env(safe-area-inset-right));
    }

    .work-carousel-card {
        flex-basis: 100%;
    }

    .work-carousel__arrow {
        top: auto;
        bottom: -3.2rem;
        transform: none;
    }

    .work-carousel__arrow--prev {
        left: 0;
    }

    .work-carousel__arrow--next {
        right: 0;
    }

    .package-card__title-row {
        align-items: center;
        text-align: center;
    }

    .package-card,
    .process-step,
    .cta-block {
        padding: var(--space-md);
    }

    .service-panel-layout {
        grid-template-columns: 1fr;
    }

    .service-panel__media,
    .service-panel__media-placeholder {
        min-height: 220px;
    }

    .intro-hero-layout {
        grid-template-columns: 1fr;
    }

    .tempo-form__submit {
        width: 100%;
    }
}
