/* Quiet luxury layer: slower motion, finer edges, less cheap scale. */

::selection {
    background: rgba(255, 151, 58, 0.28);
    color: inherit;
}

img {
    -webkit-user-drag: none;
}

.brand-kicker {
    letter-spacing: 0.22em;
}

.brand-home-display {
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.brand-button {
    letter-spacing: 0.01em;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.45s ease;
}

.brand-button-primary {
    box-shadow: 0 14px 36px rgba(255, 121, 0, 0.16);
}

.brand-nav-shell {
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    border-color: hsla(0, 0%, 100%, 0.1);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22), inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
}

.brand-scribble {
    display: inline-block !important;
    position: relative;
    padding: 0 0.02em 0.2em;
    line-height: inherit;
    vertical-align: baseline;
    white-space: nowrap;
}

.brand-scribble-text {
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 0;
    line-height: 1.02;
    background: none;
}

.brand-scribble:after {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.03em;
    width: auto;
    height: 0.075em;
    margin: 0 !important;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7900, #ffb067);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
}

.brand-section-heading:has(.brand-scribble) {
    line-height: 1.22 !important;
    overflow: visible;
}

.brand-scribble.brand-underline-visible:after {
    animation: brand-scribble-draw 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

@keyframes brand-scribble-draw {
    to {
        transform: scaleX(1);
    }
}

.brand-nav-tray {
    display: none;
}

.hover-scale:hover {
    transform: translateY(-3px);
}

.brand-campaign-card,
.brand-service-light-card,
.brand-outline-card,
.brand-market-card,
.brand-difference-card,
.brand-surface-card,
.brand-page-note,
.brand-page-chip {
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.brand-surface-card {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16), inset 0 1px 0 hsla(0, 0%, 100%, 0.04);
}

.contact-page .brand-surface-card input,
.contact-page .brand-surface-card select,
.contact-page .brand-surface-card textarea {
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.contact-page .brand-surface-card input:focus,
.contact-page .brand-surface-card select:focus,
.contact-page .brand-surface-card textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 151, 58, 0.18);
}

@media (min-width: 768px) {
    .brand-home-hero {
        padding-bottom: 5.25rem;
    }

    .brand-home main > .brand-section {
        padding-top: 6.75rem;
        padding-bottom: 6.75rem;
    }

    .brand-page-hero {
        padding-bottom: 4.5rem;
    }

    .brand-page-hero ~ section.py-12 {
        padding-top: 4.25rem;
        padding-bottom: 4.25rem;
    }

    .brand-page-hero ~ section.py-16 {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .brand-page-hero ~ section.py-20 {
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
    }
}

@media (min-width: 1024px) {
    .brand-home main > .brand-section {
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
    }

    .brand-nav-shell {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow: hidden !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        background-color: #080808;
        transform-origin: top center;
        transition: box-shadow 0.5s ease, background 0.35s ease;
    }

    .brand-nav-shell.is-open {
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 hsla(0, 0%, 100%, 0.1);
    }

    .brand-nav-bar {
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
        padding: 0 1.05rem;
    }

    .brand-nav-shell.is-open .brand-nav-bar {
        box-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.08);
    }

    .brand-nav-shell .brand-nav-tray.brand-dropdown-shell {
        display: grid;
        grid-template-rows: 0fr;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: 1;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: none;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        perspective: 1400px;
        transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
    }

    .brand-nav-shell .brand-nav-tray.brand-dropdown-shell:before {
        display: none !important;
    }

    .brand-nav-shell.is-open .brand-nav-tray.brand-dropdown-shell,
    .brand-nav-shell .brand-nav-tray.brand-dropdown-shell.is-open {
        grid-template-rows: 1fr;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .brand-nav-tray-inner {
        min-height: 0;
        overflow: hidden;
    }

    .brand-nav-tray-flip {
        transform: none;
        opacity: 1;
    }

    .brand-nav-shell .brand-dropdown-panel {
        min-width: 0 !important;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin: 0;
        padding: 0.1rem 0.45rem 0.3rem !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform-style: preserve-3d;
    }

    .brand-nav-shell .brand-dropdown-link-all {
        grid-column: auto;
    }

    .brand-nav-shell .brand-dropdown-link {
        border-radius: 0.9rem;
        transform-origin: top center;
        transform: rotateX(-78deg);
        opacity: 0;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transition:
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.4s ease,
            background 0.2s ease,
            color 0.2s ease;
        transition-delay: 0ms;
    }

    .brand-nav-shell.is-open .brand-dropdown-link,
    .brand-nav-tray.is-open .brand-dropdown-link {
        transform: rotateX(0deg);
        opacity: 1;
        transition-delay: calc(280ms + var(--i, 0) * 36ms);
    }
}

@media (min-width: 1101px) {
    .brand-show-mobile {
        display: none !important;
    }
}

@media (hover: none), (pointer: coarse) {
    .brand-campaign-card:hover .brand-campaign-image,
    .brand-creative-stage .brand-campaign-card:hover .brand-campaign-image,
    .brand-creative-more .brand-campaign-card:hover .brand-campaign-image {
        object-position: top center !important;
        transform: none !important;
    }
}

@media (hover: hover) and (pointer: fine) {
    .brand-button-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(255, 121, 0, 0.22);
    }

    .brand-button-secondary:hover {
        transform: translateY(-2px);
        border-color: hsla(0, 0%, 100%, 0.22);
        background: hsla(0, 0%, 100%, 0.05);
    }

    .brand-campaign-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
    }

    .brand-campaign-card:hover .brand-campaign-image {
        transform: none;
    }

    .brand-service-light-card:hover,
    .brand-outline-card:hover,
    .brand-market-card:hover,
    .brand-difference-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 48px rgba(16, 16, 15, 0.12);
    }

    .brand-surface-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32), inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
    }

    .hover-scale:hover {
        transform: translateY(-3px);
    }

    .brand-page-note:hover {
        border-color: hsla(0, 0%, 100%, 0.16);
        background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.05), hsla(0, 0%, 100%, 0.02));
    }

    .brand-page-chip:hover {
        border-color: hsla(0, 0%, 100%, 0.16);
        background: hsla(0, 0%, 100%, 0.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-button,
    .brand-campaign-card,
    .brand-service-light-card,
    .brand-outline-card,
    .brand-market-card,
    .brand-difference-card,
    .brand-surface-card,
    .brand-page-note,
    .brand-page-chip,
    .brand-campaign-image,
    .brand-nav-tray-inner,
    .brand-dropdown-link {
        transition: none;
        transform: none;
        filter: none;
    }

    .brand-scribble:after,
    .brand-scribble.brand-underline-visible:after {
        animation: none;
        transform: scaleX(1);
    }

    .brand-nav-tray-flip {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .brand-nav-shell .brand-nav-tray.brand-dropdown-shell,
    .brand-nav-shell .brand-dropdown-link {
        transition: none;
        transition-delay: 0ms;
    }
}

@media (min-width: 1024px) {
    .brand-nav-shell .brand-dropdown-shell,
    .brand-nav-shell .brand-dropdown-shell.is-open,
    .brand-nav-dropdown.is-open .brand-dropdown-shell,
    .brand-nav-dropdown:hover .brand-dropdown-shell,
    .brand-nav-dropdown:focus-within .brand-dropdown-shell,
    .brand-nav-dropdown[open] .brand-dropdown-shell {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #brandNavShell .brand-dropdown-panel {
        min-width: 0 !important;
        width: 100% !important;
        max-width: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Walmart setup: nav highlight and homepage band. */

.brand-nav-walmart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0.25rem;
    padding: 0.64rem 0.88rem;
    border-radius: 999px;
    background: #0071dc;
    color: #fff;
    font-weight: 700;
    font-size: 0.97rem;
    line-height: 1.5;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.brand-nav-walmart:hover,
.brand-nav-walmart:focus-visible,
.brand-nav-walmart.is-active {
    background: #004f9a;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 194, 32, 0.7);
}

.brand-nav-walmart:focus-visible {
    outline: 2px solid #ffc220;
    outline-offset: 2px;
}

.brand-nav-walmart-spark {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: #ffc220;
}

@media (max-width: 1199px) {
    .brand-nav-walmart-extra {
        display: none;
    }
}

.brand-mobile-walmart {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0071dc, #004f9a);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 194, 32, 0.35);
}

.brand-mobile-walmart .brand-nav-walmart-spark {
    width: 1.6rem;
    height: 1.6rem;
}

.brand-mobile-walmart strong,
.brand-mobile-walmart small {
    display: block;
}

.brand-mobile-walmart strong {
    font-size: 0.98rem;
    line-height: 1.15;
}

.brand-mobile-walmart small {
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
}

.ca-home-walmart {
    padding-top: 0;
    padding-bottom: 3rem;
}

/* The Walmart band follows the hero, so the hero no longer needs to fill the screen on larger displays. */
@media (min-width: 768px) {
    #home.brand-home-hero {
        min-height: 0;
        padding-bottom: 2.75rem;
    }
}

.ca-home-walmart-card {
    position: relative;
    display: grid;
    gap: 1.75rem;
    align-items: center;
    overflow: hidden;
    padding: 2rem 1.5rem;
    border-radius: 1.75rem;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(140deg, #0071dc 0%, #004f9a 100%);
    color: #fff;
    box-shadow: 0 28px 70px rgba(0, 60, 130, 0.35);
}

@media (min-width: 768px) {
    .ca-home-walmart-card {
        padding: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .ca-home-walmart-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 3rem;
        padding: 3.25rem 3.5rem;
    }
}

.ca-home-walmart-spark {
    position: absolute;
    right: -3rem;
    bottom: -3.5rem;
    width: 15rem;
    height: 15rem;
    color: #ffc220;
    opacity: 0.16;
    pointer-events: none;
}

.ca-home-walmart-copy,
.ca-home-walmart-actions {
    position: relative;
}

.ca-home-walmart-kicker {
    display: inline-block;
    margin: 0 0 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #ffc220;
    color: #041e42;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ca-home-walmart-copy h2 {
    margin: 0 0 0.9rem;
    max-width: 46rem;
    color: #fff;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
}

.ca-home-walmart-copy > p {
    max-width: 46rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.04rem;
    line-height: 1.65;
}

.ca-home-walmart-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.ca-home-walmart-tags li {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.85rem;
    font-weight: 650;
}

.ca-home-walmart-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}

.ca-home-walmart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    background: #ffc220;
    color: #041e42;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(255, 194, 32, 0.3);
    transition: background 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ca-home-walmart-btn:hover,
.ca-home-walmart-btn:focus-visible {
    background: #ffd04f;
    color: #041e42;
    transform: translateY(-2px);
}

.ca-home-walmart-link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

.ca-home-walmart-btn:focus-visible,
.ca-home-walmart-link:focus-visible {
    outline: 2px solid #ffc220;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .brand-nav-walmart,
    .ca-home-walmart-btn {
        transition: none;
    }

    .ca-home-walmart-btn:hover {
        transform: none;
    }
}

/* Featured Walmart card spans the full row at the top of service grids. */

.brand-service-light-card.is-featured,
.brand-service-card.is-featured {
    grid-column: 1 / -1;
}

.brand-service-light-card.is-featured {
    min-height: 0;
    border-color: transparent;
    background:
        radial-gradient(circle at 96% 0%, rgba(255, 194, 32, 0.28), transparent 38%),
        linear-gradient(135deg, #0071dc, #004f9a);
    color: #fff;
    box-shadow: 0 22px 50px rgba(0, 79, 154, 0.28);
}

.brand-service-light-card.is-featured:hover {
    border-color: #ffc220;
    box-shadow: 0 26px 60px rgba(0, 79, 154, 0.36);
}

.brand-service-light-card.is-featured h3 {
    max-width: none;
    color: #fff;
}

.brand-service-light-card.is-featured p {
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.88);
}

.brand-service-light-card.is-featured .brand-service-light-top > span:first-child,
.brand-service-light-card.is-featured .brand-service-light-link {
    color: #ffc220;
}

.brand-service-light-card.is-featured .brand-service-light-arrow {
    background: #ffc220;
    color: #041e42;
}

.brand-service-card.is-featured {
    --service-rgb: 0, 113, 220;
    min-height: 0;
    border-color: rgba(255, 194, 32, 0.45);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 194, 32, 0.22), transparent 0 40%),
        linear-gradient(135deg, #0071dc, #003f7d);
}

.brand-service-card.is-featured p {
    max-width: 48rem;
    color: rgba(255, 255, 255, 0.88) !important;
}

.brand-service-card.is-featured .brand-icon-chip {
    background: #ffc220;
    color: #041e42;
}

/* Tighter rhythm between sections. */

.brand-home .brand-section.py-20 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .brand-home .brand-section.py-20 {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }
}

/* Underlined headings: keep them inside their column with normal line spacing. */

.brand-section-heading:has(.brand-scribble) {
    font-size: clamp(2.3rem, 4.3vw, 3.85rem);
    line-height: 1.06 !important;
}

.brand-scribble {
    padding-bottom: 0.08em;
}

/* Utilities used in templates that the prebuilt Tailwind file does not include. */

.bg-\[\#111827\] { background-color: #111827; }
.leading-\[1\.02\] { line-height: 1.02; }
.tracking-\[\.18em\] { letter-spacing: 0.18em; }
.pt-5 { padding-top: 1.25rem; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.border-white\/8 { border-color: rgba(255, 255, 255, 0.08); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.text-white\/48 { color: rgba(255, 255, 255, 0.48); }
.text-white\/66 { color: rgba(255, 255, 255, 0.66); }
.text-white\/68 { color: rgba(255, 255, 255, 0.68); }
.text-white\/72 { color: rgba(255, 255, 255, 0.72); }
.text-white\/75 { color: rgba(255, 255, 255, 0.75); }
.text-white\/78 { color: rgba(255, 255, 255, 0.78); }
.text-white\/88 { color: rgba(255, 255, 255, 0.88); }
.hover\:border-primary\/40:hover { border-color: rgba(255, 121, 0, 0.4); }
.shadow-\[0_20px_50px_rgba\(0\2c 0\2c 0\2c 0\.18\)\] { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }
.shadow-\[0_30px_90px_rgba\(0\2c 0\2c 0\2c 0\.18\)\] { box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18); }

@media (min-width: 768px) {
    .md\:items-center { align-items: center; }
    .md\:p-10 { padding: 2.5rem; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-\[1\.1fr_\.9fr\] { grid-template-columns: 1.1fr 0.9fr; }
}

/* Channel page panel: the Amazon wordmark is dark, so show it light on the dark panel. */
.ca-service-page aside img[src$="/amazon.svg"] {
    width: 7rem;
    height: auto;
    filter: brightness(0) invert(1);
}

/* About page team row: keep names from running into each other in the eight-column layout. */
@media (min-width: 768px) {
    #team [data-balanced-grid="team"] {
        column-gap: 1rem;
        row-gap: 2.5rem;
    }
}

@media (min-width: 1280px) {
    #team [data-balanced-grid="team"] h3 {
        font-size: 1.02rem;
        line-height: 1.25;
        text-wrap: balance;
    }

    #team [data-balanced-grid="team"] p {
        font-size: 0.85rem;
    }
}

/* Mobile menu: space between "What We Do" and its chevron. */
.brand-mobile-services-summary {
    gap: 0.6rem;
}

/* Polish round 3: matched buttons, explore button, footer contact cards. */

.ca-home-walmart-btn,
.ca-home-walmart-btn:hover,
.ca-home-walmart-btn:focus-visible {
    color: #17120d;
}

.brand-button-explore {
    gap: 0.5rem;
    border-color: rgba(255, 255, 255, 0.32) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #fff !important;
    backdrop-filter: blur(6px);
}

.brand-button-explore i {
    font-size: 1.05em;
    transition: transform 0.25s ease;
}

.brand-button-explore:hover,
.brand-button-explore:focus-visible {
    border-color: rgba(255, 151, 58, 0.75) !important;
    background: rgba(255, 151, 58, 0.12) !important;
}

.brand-button-explore:hover i,
.brand-button-explore:focus-visible i {
    transform: translateY(3px);
}

/* Balanced card grids: no lonely card in the last row. */
@media (min-width: 640px) and (max-width: 1023px) {
    [data-balanced-grid="blog-archive"] > :first-child:nth-last-child(2n+1) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    [data-balanced-grid="work"] > :first-child:nth-last-child(2n+1) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    :is([data-balanced-grid="work"], [data-balanced-grid="blog-archive"]) > :first-child:nth-last-child(3n+1),
    :is([data-balanced-grid="work"], [data-balanced-grid="blog-archive"]) > :first-child:nth-last-child(3n+1) ~ :last-child,
    :is([data-balanced-grid="work"], [data-balanced-grid="blog-archive"]) > :first-child:nth-last-child(3n+2) {
        grid-column: span 2;
    }
}

/* Desktop nav: keep every label on one line and the Walmart pill the same height as the other links. */
.brand-nav-walmart {
    min-height: 2.7rem;
}

.brand-nav-desktop .brand-nav-link,
.brand-nav-desktop .brand-nav-summary {
    white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .brand-nav-desktop {
        gap: 0;
        font-size: 0.9rem !important;
    }

    .brand-nav-desktop .brand-nav-link {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .brand-nav-walmart {
        margin: 0 0.15rem;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
        font-size: 0.9rem;
    }

    .brand-logo-tagline {
        display: none;
    }
}

/* Footer CTA: room under the headline and an even services grid. */
.brand-footer-title {
    margin-bottom: 1rem;
    line-height: 1 !important;
}

.brand-footer-service-grid > :first-child:nth-last-child(2n+1) {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .brand-footer-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .brand-footer-service-grid > :first-child:nth-last-child(2n+1) {
        grid-column: auto;
    }

    .brand-footer-service-grid > :first-child:nth-last-child(3n+1) {
        grid-column: 1 / -1;
    }
}

/* Walmart spark badge on the featured service card. */
.ca-walmart-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(4, 30, 66, 0.25);
}

.ca-walmart-card-spark {
    width: 58%;
    height: 58%;
    color: #ffc220;
}

.ca-home-walmart .ca-home-walmart-copy h2 {
    margin-top: 0.7rem !important;
    max-width: 20ch;
    text-wrap: balance;
}

@media (max-width: 639px) {
    .ca-home-walmart-tags {
        gap: 0.4rem;
    }

    .ca-home-walmart-tags li {
        flex: 1 1 auto;
        padding: 0.32rem 0.6rem;
        font-size: 0.78rem;
        text-align: center;
    }
}

/* Service pages: "What you can expect" block. */
.ca-expect {
    padding: 3.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at 12% 0%, rgba(255, 121, 0, 0.08), transparent 45%), #0b0b0c !important;
}

.ca-expect-shell {
    display: grid;
    gap: 2rem;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
}

.ca-expect-title {
    margin: 0.4rem 0 0.9rem;
    color: #fff !important;
    font-size: clamp(2rem, 3.4vw, 2.9rem) !important;
    font-weight: 800;
    line-height: 1.02 !important;
}

.ca-expect-intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 1.02rem;
    line-height: 1.65;
}

.ca-expect-note {
    margin: 1.25rem 0 0;
    padding-left: 0.9rem;
    border-left: 2px solid rgba(255, 151, 58, 0.55);
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem;
    line-height: 1.6;
}

.ca-expect-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ca-expect-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 0.95rem;
    line-height: 1.55;
}

.ca-expect-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.7rem;
    background: rgba(255, 121, 0, 0.14);
    color: #ff973a;
    font-size: 1.1rem;
}

@media (min-width: 640px) {
    .ca-expect {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

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

    .ca-expect-list > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .ca-expect {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .ca-expect-shell {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 3.5rem;
        align-items: center;
    }
}

/* Icon chips that replace emoji on service pages. */
.ca-tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.75rem;
    border-radius: 0.85rem;
    background: rgba(255, 121, 0, 0.14);
    color: #ff973a;
    font-size: 1.35rem;
}

.ca-tool-icon-lg {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.6rem;
}

.ca-step-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.ca-step-card:hover {
    border-color: rgba(255, 151, 58, 0.45);
    transform: translateY(-2px);
}

/* Phones: service heroes no longer pad the copy out to a full screen of empty space. */
@media (max-width: 767px) {
    body.ca-service-page #main-content > section:first-child:not(.brand-page-hero),
    body.ca-vertical-page #main-content > section:first-child:not(.brand-page-hero) {
        min-height: 0;
        padding-bottom: 3rem !important;
    }

    body.ca-service-page #main-content > section:first-child:not(.brand-page-hero) > .container > .grid[class*=grid-cols-2] > :first-child,
    body.ca-vertical-page #main-content > section:first-child:not(.brand-page-hero) > .container > .grid[class*=grid-cols-2] > :first-child,
    body.ca-service-page #main-content > section:first-child:not(.brand-page-hero) > .container:not(:has(> .grid[class*=grid-cols-2])),
    body.ca-vertical-page #main-content > section:first-child:not(.brand-page-hero) > .container:not(:has(> .grid[class*=grid-cols-2])) {
        min-height: 0 !important;
    }

    body.ca-service-page #main-content > section:first-child:not(.brand-page-hero) > .container > .grid[class*=grid-cols-2] > :nth-child(2) {
        margin-top: 1.75rem;
    }

    body.ca-service-page #main-content > section:first-child .grid.grid-cols-2 > div {
        padding: 1.1rem 0.75rem !important;
    }
}

/* Tablets: four-column card rows become two columns so text is not squeezed into narrow strips. */
@media (min-width: 768px) and (max-width: 1023px) {
    #main-content .md\:grid-cols-4:not(.brand-proof-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Footer contact: one panel with three matching rows. */
.ca-contact-panel {
    display: block !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.025);
}

.ca-contact-panel > li {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
}

.ca-contact-panel > li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.ca-contact-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    padding: 0.85rem 1rem;
    color: inherit;
    transition: background 0.2s ease;
}

a.ca-contact-row:hover,
a.ca-contact-row:focus-visible {
    background: rgba(255, 151, 58, 0.07);
}

.ca-contact-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.65rem;
    background: rgba(255, 121, 0, 0.13);
    color: #ff973a;
    font-size: 1.05rem;
}

.ca-contact-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.ca-contact-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ca-contact-value {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Small laptops: give the footer links the full width so the contact panel has room. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .brand-footer-main {
        grid-template-columns: 1fr !important;
    }
}

.ca-contact-go {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

a.ca-contact-row:hover .ca-contact-go,
a.ca-contact-row:focus-visible .ca-contact-go {
    color: #ff973a;
    transform: translate(2px, -2px);
}

/* Skip-link and section targets are focusable only so keyboard users can jump to them.
   Clicking inside them must not paint a browser focus ring along the page edge. */
#main-content:focus,
[tabindex="-1"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ==========================================================
   Shape and size system
   Buttons, nav items, chips and tags are all fully rounded.
   Three control heights: nav 2.75rem, button 3.1rem, chip 2.25rem.
   ========================================================== */
.brand-button,
.brand-what-light-action,
.brand-page-chip-row .brand-button,
.ca-walmart-card-badge {
    border-radius: 999px !important;
}

.brand-button {
    min-height: 3.1rem;
    padding: .78rem 1.45rem;
    line-height: 1.2;
}

.brand-button-small {
    min-height: 2.75rem;
    padding: .6rem 1.2rem;
}

/* Header items share one height */
.brand-nav-link,
.brand-nav-walmart,
.brand-nav-bar > a.brand-button {
    min-height: 2.75rem !important;
    height: 2.75rem;
    box-sizing: border-box;
}

.brand-nav-bar > a.brand-button {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Chips are labels, so they sit clearly smaller and quieter than buttons */
.brand-page-chip {
    min-height: 2.25rem !important;
    padding: .4rem .9rem !important;
    font-size: .8rem !important;
    font-weight: 600;
    color: rgba(255, 255, 255, .78);
}

.brand-page-chip-row {
    align-items: center;
}

.brand-page-chip-row .brand-button {
    min-height: 3.1rem;
}

/* Pagination pills */
nav[aria-label="Pagination"] a,
nav[aria-label="Pagination"] span {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 1.2rem !important;
    border-radius: 999px;
}

nav[aria-label="Pagination"] a {
    border: 1px solid rgba(255, 255, 255, .12) !important;
    color: rgba(255, 255, 255, .86) !important;
}

nav[aria-label="Pagination"] a:hover {
    border-color: rgba(255, 140, 40, .6) !important;
    color: #ffb067 !important;
}

nav[aria-label="Pagination"] span {
    color: rgba(255, 255, 255, .55) !important;
}

/* Centered page heroes really center on wide screens */
.brand-page-hero-inner > .text-center {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.brand-page-hero .text-center .brand-page-title,
.brand-page-hero .text-center .brand-page-intro {
    margin-right: auto;
    margin-left: auto;
}

/* Hero glow fades out instead of ending in a hard band */
.brand-page-hero::before {
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

/* Blog search and topics */
.ca-blog-tools {
    display: grid;
    gap: 1.1rem;
    justify-items: center;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
}

.ca-blog-search {
    display: flex;
    align-items: center;
    gap: .4rem;
    width: 100%;
    padding: .4rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

.ca-blog-search:focus-within {
    border-color: rgba(255, 140, 40, .55);
}

.ca-blog-search-field,
.ca-blog-search-select {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.ca-blog-search-field {
    flex: 1 1 auto;
}

.ca-blog-search-field i {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, .5);
    font-size: 1.1rem;
    pointer-events: none;
}

.ca-blog-search-field input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0 1rem 0 2.7rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: .95rem;
    outline: none;
}

.ca-blog-search-field input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.ca-blog-search-select {
    flex: 0 0 auto;
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.ca-blog-search-select select {
    min-height: 2.75rem;
    padding: 0 2.4rem 0 1rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .86);
    font-size: .92rem;
    font-weight: 600;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
}

.ca-blog-search-select select option {
    background: #151515;
    color: #fff;
}

.ca-blog-search-select i {
    position: absolute;
    right: .9rem;
    color: rgba(255, 255, 255, .55);
    pointer-events: none;
}

.ca-blog-search .brand-button {
    flex: 0 0 auto;
    min-height: 2.75rem;
    padding: 0 1.4rem;
}

.ca-blog-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.ca-blog-topic {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: .4rem .95rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    font-weight: 600;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.ca-blog-topic:hover {
    border-color: rgba(255, 140, 40, .5);
    color: #fff;
}

.ca-blog-topic.is-active {
    border-color: transparent;
    background: linear-gradient(180deg, #ff973a, #ff7900);
    color: #17120d;
}

@media (max-width: 639px) {
    .ca-blog-search {
        flex-wrap: wrap;
        padding: .5rem;
        border-radius: 1.5rem;
    }

    .ca-blog-search-field {
        flex: 1 1 100%;
    }

    .ca-blog-search-select {
        flex: 1 1 0;
        border-left: 0;
    }

    .ca-blog-search-select select {
        width: 100%;
        border: 1px solid rgba(255, 255, 255, .1);
    }

    .ca-blog-topics {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        padding-bottom: .25rem;
        scrollbar-width: none;
    }

    .ca-blog-topics::-webkit-scrollbar {
        display: none;
    }

    .ca-blog-topic {
        flex: 0 0 auto;
    }
}

/* Hero action rows: buttons on the first line, label chips on their own line */
.brand-page-chip-row::before {
    content: "";
    order: 1;
    flex-basis: 100%;
    height: 0;
}

.brand-page-chip-row > .brand-button {
    order: 0;
}

.brand-page-chip-row > .brand-page-chip {
    order: 2;
}

.brand-page-chip-row:not(:has(.brand-page-chip))::before {
    display: none;
}

@media (min-width: 1024px) {
    .brand-page-hero-inner > .grid.lg\:items-end {
        align-items: center;
    }
}

/* Desktop page heroes: actions sit under the intro, the note moves to the right */
@media (min-width: 1024px) {
    .brand-page-hero-inner > .grid.lg\:grid-cols-2 {
        width: 100%;
    }

    .brand-page-hero-inner > .grid.lg\:grid-cols-2 > .brand-page-chip-row {
        order: 1;
    }

    .brand-page-hero-inner > .grid.lg\:grid-cols-2 > .brand-page-note {
        order: 2;
        justify-self: end;
    }
}

/* Phones: page heroes size to their content instead of a full empty screen */
@media (max-width: 767px) {
    .brand-page-hero {
        min-height: 0;
        padding-top: 7.25rem;
        padding-bottom: 2.75rem;
    }
}

/* Card corners: two sizes only. Cards 1.25rem, large panels 1.75rem. */
#main-content .rounded-2xl,
#main-content .rounded-3xl,
#main-content .brand-surface-card,
#main-content .brand-outline-card,
#main-content .brand-page-note,
#main-content .brand-service-light-card,
#main-content .brand-difference-card,
#main-content .brand-difference-note,
#main-content .brand-market-note,
#main-content .brand-pricing-model-card,
#main-content .brand-campaign-card,
#main-content .ca-home-walmart-card,
#main-content .ca-expect-item,
#main-content .ca-article-method,
#main-content .ca-article-sources,
#main-content .ca-step-card,
.ca-contact-panel {
    border-radius: 1.25rem !important;
}

#main-content .brand-what-system,
#main-content .brand-proof-band,
#main-content .brand-pricing-hero-panel,
#main-content .brand-difference-stage,
#main-content .brand-market-stage,
#main-content .brand-creative-stage,
.brand-footer-cta {
    border-radius: 1.75rem !important;
}

/* Home: the "ways to work" card stays in view beside the service list instead of stretching into empty space */
@media (min-width: 1024px) {
    .brand-what-light {
        overflow: clip !important;
    }

    .brand-what-light-board > .brand-what-system {
        position: sticky;
        top: 6.5rem;
        align-self: start;
    }
}

/* Client work cards: text sits on a solid fade so it never fights the screenshot behind it */
.brand-campaign-card::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 28%, rgba(10, 10, 10, .78) 58%, rgba(10, 10, 10, .96) 82%) !important;
}

/* Home on phones */
@media (max-width: 767px) {
    /* Hero sizes to its content instead of a full empty screen */
    #home.brand-home-hero {
        min-height: 0 !important;
        padding-top: 7.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    #home .brand-hero-layout {
        min-height: 0 !important;
        padding-top: 1rem;
    }

    /* The reel phone mockup is decorative and its slides collide at this width */
    .brand-creative-grid > .brand-phone-stage {
        display: none !important;
    }

    /* Work cards: label and name only, so nothing gets cut off */
    .brand-campaign-card .brand-campaign-text {
        display: none;
    }

    .brand-campaign-card,
    .brand-campaign-card-short,
    .brand-campaign-card-tall {
        min-height: 12.5rem !important;
    }
}

@media (max-width: 559px) {
    /* Service cards read better one per row than squeezed two per row */
    .brand-service-light-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Platform tiles three per row, last row centered */
    .brand-proof-grid {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: .55rem !important;
    }

    .brand-proof-grid > * {
        flex: 0 0 calc((100% - 1.1rem) / 3);
        min-width: 0;
        padding-right: .35rem !important;
        padding-left: .35rem !important;
    }

    .brand-proof-grid > * span,
    .brand-proof-grid > * p {
        font-size: .68rem !important;
        line-height: 1.2;
        text-align: center;
    }
}

/* Footer on every width: call to action, then links, then the copyright row last */
.brand-footer-stack > .brand-footer-cta {
    order: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 2.4rem !important;
}

.brand-footer-stack > .brand-footer-main {
    order: 2 !important;
}

.brand-footer-stack > .brand-footer-bottom {
    order: 3 !important;
}

@media (min-width: 560px) and (max-width: 1023px) {
    .brand-proof-grid {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: .7rem !important;
    }

    .brand-proof-grid > * {
        flex: 0 0 calc((100% - 2.8rem) / 5);
        min-width: 0;
    }
}

/* Typography: no lone words on the last line of headings, copy and list items. */
h1, h2, h3, h4, .brand-home-display {
    text-wrap: balance;
}

p, li, dd, figcaption, blockquote, label, summary {
    text-wrap: pretty;
}

/* Tablet: two-column service and industry heroes get a headline sized for half the width. */
@media (min-width: 768px) and (max-width: 1023px) {
    body.ca-service-page #main-content > section:first-child .md\:grid-cols-2 h1,
    body.ca-vertical-page #main-content > section:first-child .md\:grid-cols-2 h1 {
        font-size: clamp(2.3rem, 4.9vw, 3rem) !important;
    }

    #main-content > section:first-child .md\:grid-cols-2 .grid-cols-2 > .p-6 {
        padding: 1.25rem 0.75rem;
    }
}

/* "What you can expect" lines up with the sections around it. */
.ca-expect-shell {
    max-width: var(--ca-site-max, 1260px);
}

@media (min-width: 768px) {
    .ca-expect-shell {
        width: 92vw;
    }
}

/* Phone: one 16px page gutter on every section, matching the hero and service pages. */
@media (max-width: 767px) {
    #main-content > section.px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Websites page: speed card in the site palette. */
.ca-speed-rows {
    display: grid;
    gap: 0;
    margin: 0;
}

.ca-speed-rows > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ca-speed-rows > div:last-child {
    border-bottom: 0;
}

.ca-speed-rows dt {
    color: rgba(255, 255, 255, 0.62);
}

.ca-speed-rows dd {
    margin: 0;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

@media (max-width: 479px) {
    .ca-speed-rows > div {
        flex-direction: column;
        gap: 0.2rem;
    }

    .ca-speed-rows dd {
        text-align: left;
    }
}

/* Phone: hero side cards on service pages use tighter padding so labels fit. */
@media (max-width: 767px) {
    #main-content > section:first-child .md\:grid-cols-2 > .brand-surface-card.p-8 {
        padding: 1.25rem;
    }

    #main-content > section:first-child .md\:grid-cols-2 .grid-cols-2 > .p-6 {
        padding: 1.25rem 0.5rem;
    }
}

/* Phone: stacked hero button rows on industry pages sit side by side at button height, not 9rem tall. */
@media (max-width: 767px) {
    body.ca-service-page #main-content > section:first-child:not(.brand-page-hero) .flex.flex-col[class*="gap-4"],
    body.ca-vertical-page #main-content > section:first-child:not(.brand-page-hero) .flex.flex-col[class*="gap-4"] {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    body.ca-service-page #main-content > section:first-child:not(.brand-page-hero) .flex[class*="gap-4"] > a,
    body.ca-vertical-page #main-content > section:first-child:not(.brand-page-hero) .flex[class*="gap-4"] > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 3.1rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Contrast fixes: light utility backgrounds left over from the old light theme. */
#main-content .ca-home-walmart-kicker {
    color: #041e42;
}

body.ca-vertical-page #main-content .bg-white.rounded-xl,
body.ca-vertical-page #main-content .grid-cols-2 > .bg-cream.rounded-xl {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.ca-vertical-page #main-content .bg-indigo-50.rounded-3xl {
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.ca-vertical-page #main-content .bg-dark .text-gray-400,
body.ca-vertical-page #main-content .bg-white .text-gray-400 {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.ca-vertical-page #main-content .bg-dark .text-primary {
    color: #ff8a1f !important;
}

body.ca-vertical-page #main-content section.bg-slate-100 {
    background: #0b0b0c;
}

body.ca-vertical-page #main-content .text-slate-700 {
    color: #ff8a1f;
}

body.ca-vertical-page #main-content section.bg-yellow-400 .text-dark {
    color: #fff;
}

body.ca-vertical-page #main-content .bg-red-50.rounded-xl {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.22);
}

body.ca-vertical-page #main-content .bg-red-50 .text-red-800 {
    color: #fecaca;
}

body.ca-vertical-page #main-content .bg-red-50 .text-red-600 {
    color: rgba(255, 255, 255, 0.66);
}

body.ca-vertical-page #main-content section.bg-yellow-400 a.bg-dark {
    background: #ff7a00;
    color: #17120d;
}

/* Phone: hero check rows wrap cleanly instead of squeezing three items into one line. */
@media (max-width: 767px) {
    body.ca-vertical-page #main-content > section:first-child .flex.items-center.gap-6 {
        flex-wrap: wrap;
        gap: 0.5rem 1.25rem;
    }

    body.ca-vertical-page #main-content > section:first-child .flex.items-center.gap-6 > div {
        white-space: nowrap;
    }
}

#main-content li > span,
#main-content .flex > span {
    text-wrap: pretty;
}

#main-content .flex > .rounded-full[class*="w-"][class*="h-"],
#main-content .flex > .rounded-xl[class*="w-"][class*="h-"] {
    flex-shrink: 0;
}

body.ca-vertical-page #main-content section[class*="bg-gradient"] a.bg-white {
    background: #ff7a00;
    color: #17120d;
}

/* Contact: cards follow the dark site palette instead of white panels with dark inputs. */
body.contact-page #main-content .brand-page-hero ~ section div.bg-white.rounded-2xl,
body.contact-page #main-content .brand-page-hero ~ section div.bg-white.rounded-3xl {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #101010 !important;
    box-shadow: none !important;
}

body.contact-page #main-content .brand-page-hero ~ section div.bg-cream.rounded-xl,
body.contact-page #main-content .brand-page-hero ~ section div.bg-gray-50.rounded-2xl,
body.contact-page #main-content .brand-page-hero ~ section div.bg-gray-50.rounded-xl {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: none !important;
}

body.contact-page #main-content .brand-page-hero ~ section div.bg-cream h3,
body.contact-page #main-content .brand-page-hero ~ section div.bg-gray-50 h2,
body.contact-page #main-content .brand-page-hero ~ section div.bg-gray-50 h3,
body.contact-page #main-content .brand-page-hero ~ section div.bg-white h2,
body.contact-page #main-content .brand-page-hero ~ section div.bg-white h3,
body.contact-page #main-content .brand-page-hero ~ section div.bg-white h4,
body.contact-page #main-content .brand-page-hero ~ section div.bg-white strong,
body.contact-page #main-content .brand-page-hero ~ section div.bg-gray-50 strong {
    color: #fff !important;
}

body.contact-page #main-content .brand-page-hero ~ section div.bg-cream p,
body.contact-page #main-content .brand-page-hero ~ section div.bg-gray-50 label,
body.contact-page #main-content .brand-page-hero ~ section div.bg-gray-50 p,
body.contact-page #main-content .brand-page-hero ~ section div.bg-white label,
body.contact-page #main-content .brand-page-hero ~ section div.bg-white p {
    color: rgba(255, 255, 255, 0.72) !important;
}

body.contact-page #main-content .brand-page-hero ~ section div.bg-gray-50 .text-gray-500,
body.contact-page #main-content .brand-page-hero ~ section div.bg-white .text-gray-500 {
    color: rgba(255, 255, 255, 0.55) !important;
}

body.contact-page #main-content .brand-page-hero ~ section a.text-orange-800 {
    color: #ff8a1f !important;
}

body.contact-page #main-content form input:not([type="checkbox"]):not([type="hidden"]),
body.contact-page #main-content form select,
body.contact-page #main-content form textarea {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
    border-radius: 0.9rem !important;
}

body.contact-page #main-content form input::placeholder,
body.contact-page #main-content form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

body.contact-page #main-content form select option {
    background: #101010;
    color: #fff;
}

body.contact-page #main-content form input:focus,
body.contact-page #main-content form select:focus,
body.contact-page #main-content form textarea:focus {
    border-color: #ff7a00 !important;
    outline: none !important;
}

body.contact-page #main-content span.bg-gray-100.rounded-full {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.78) !important;
}

/* Blog articles: keep the reading column at a comfortable line length. */
#main-content article .brand-site-shell.max-w-4xl {
    max-width: 56rem !important;
}
