/* North America WebCom editorial redesign, October 2026. */
:root {
    --nw-paper: #f4f0e8;
    --nw-surface: #fffefa;
    --nw-ink: #151b19;
    --nw-muted: #56615c;
    --nw-blue: #1450a3;
    --nw-blue-deep: #10366f;
    --nw-blue-soft: #dce7f6;
    --nw-red: #c74c3b;
    --nw-sage: #dfe7df;
    --nw-line: #c9cbc5;
    --nw-line-dark: #959d97;
    --canvas: var(--nw-paper);
    --surface: var(--nw-surface);
    --surface-soft: #ebe8e0;
    --surface-blue: var(--nw-blue-soft);
    --ink: var(--nw-ink);
    --muted: var(--nw-muted);
    --primary: var(--nw-blue);
    --primary-deep: var(--nw-blue-deep);
    --secondary: #477565;
    --accent: var(--nw-red);
    --line: var(--nw-line);
    --line-strong: var(--nw-line-dark);
    --radius: 4px;
    --shadow-sm: 0 7px 18px rgba(21, 27, 25, 0.06);
    --shadow-md: 0 18px 48px rgba(21, 27, 25, 0.11);
}

html {
    background: var(--nw-paper);
}

body {
    color: var(--nw-ink);
    background: var(--nw-paper) !important;
    font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body::before,
body::after,
.landing-motion-field,
.motion-line {
    display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.footer-title,
.auth-title,
.system-center span,
.metric strong {
    font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
    font-weight: 720;
    letter-spacing: 0;
}

::selection {
    color: #ffffff;
    background: var(--nw-blue);
}

.container {
    width: min(1280px, calc(100% - 56px));
}

.page-main {
    padding: 80px 0 0;
}

.section {
    padding: 62px 0;
}

.landing-page > .section,
.page-main > .section {
    border-top: 1px solid var(--nw-line);
}

.landing-page > .section:nth-of-type(odd),
.landing-page > .section:nth-of-type(even) {
    background: transparent;
}

.section-head {
    max-width: 850px;
    margin-bottom: 30px;
}

.section-head .tag {
    margin-bottom: 15px;
}

.section-title {
    max-width: 24ch;
    margin: 0 0 12px;
    color: var(--nw-ink);
    font-size: 2.55rem;
    line-height: 1.05;
}

.section-subtitle,
.hero-lead {
    color: var(--nw-muted);
    font-size: 1rem;
    line-height: 1.68;
}

.tag,
.chip,
.related-links a,
.icon-pill {
    padding: 7px 9px;
    border: 1px solid #aebbb4;
    border-radius: 2px !important;
    color: var(--nw-blue-deep);
    background: transparent;
    box-shadow: none;
    font-size: 0.73rem;
    font-weight: 760;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.glass-card,
.card,
.service-card,
.challenge-card,
.process-step,
.faq-item,
.form-shell,
.portfolio-card,
.portfolio-showcase,
.blog-list-item,
.qr-preview-panel,
.transform-shell {
    border-radius: 4px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.btn {
    min-height: 44px;
    padding: 11px 17px;
    border-radius: 4px !important;
    font-size: 0.88rem;
    font-weight: 760;
    letter-spacing: 0;
    box-shadow: none;
}

.btn::after {
    display: none !important;
}

.btn-primary {
    color: #ffffff;
    background: var(--nw-blue);
    border-color: var(--nw-blue);
    animation: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    color: #ffffff;
    background: var(--nw-blue-deep);
    border-color: var(--nw-blue-deep);
    box-shadow: 0 8px 20px rgba(16, 54, 111, 0.18);
}

.btn-ghost,
.btn-outline {
    color: var(--nw-ink);
    background: transparent;
    border-color: var(--nw-line-dark);
}

.btn-ghost:hover,
.btn-outline:hover {
    color: var(--nw-blue-deep);
    background: #ffffff;
    border-color: var(--nw-blue);
}

/* Header */
.site-header {
    inset: 0 0 auto;
    z-index: 1000;
}

.nav-shell,
.site-header.scrolled .nav-shell,
.site-header.motion-scrolled .nav-shell {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--nw-line);
    border-radius: 0 !important;
    background: rgba(255, 254, 250, 0.97);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-wrap,
.site-header.scrolled .nav-wrap,
.site-header.motion-scrolled .nav-wrap {
    width: min(1280px, calc(100% - 56px));
    min-height: 80px;
    margin: 0 auto;
    padding: 9px 0;
}

.brand {
    gap: 12px;
}

.brand-logo-full {
    height: 47px;
    max-width: 102px;
}

.brand-copy strong {
    color: var(--nw-ink);
    font-size: 0.88rem;
    font-weight: 780;
}

.brand-copy small {
    color: var(--nw-muted);
    font-size: 0.64rem;
}

.site-nav {
    gap: 0;
}

.site-nav a {
    min-height: 40px;
    padding: 10px 11px;
    border-radius: 0 !important;
    color: #303a36;
    font-size: 0.84rem;
    font-weight: 680;
}

.site-nav a:hover,
.site-nav a.active:not(.btn) {
    color: var(--nw-blue-deep);
    background: transparent;
}

.site-nav a::after {
    left: 11px;
    right: 11px;
    bottom: 4px;
    height: 2px;
    border-radius: 0;
    background: var(--nw-red);
}

.site-nav .btn {
    margin-left: 10px;
    color: #ffffff;
    background: var(--nw-blue);
}

.theme-toggle,
.menu-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--nw-line);
    border-radius: 3px !important;
    color: var(--nw-ink);
    background: transparent;
}

/* Full-bleed homepage hero */
.landing-page {
    overflow: clip;
}

.landing-page > .hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.landing-page .hero-grid {
    position: relative;
    width: min(1440px, 100%);
    height: clamp(600px, calc(100vh - 170px), 680px);
    min-height: 600px;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    background: #101716;
    isolation: isolate;
}

.landing-page .hero-grid::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 64%;
    background: rgba(15, 23, 21, 0.95);
    clip-path: polygon(0 0, 84% 0, 66% 100%, 0 100%);
    pointer-events: none;
}

.landing-page .hero-copy {
    position: relative;
    z-index: 3;
    width: min(760px, 62%);
    min-height: 100%;
    margin: 0;
    padding: 56px 54px 54px max(52px, calc((100vw - 1280px) / 2 + 28px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    background: transparent;
    box-shadow: none;
}

.landing-page .hero-eyebrow {
    margin-bottom: 14px;
    color: #b9d3f2;
    font-size: 0.73rem;
    letter-spacing: 0.06em;
}

.landing-page .hero-eyebrow i {
    color: #f08370;
}

.landing-page .hero-title {
    max-width: 15ch;
    margin: 0;
    color: #ffffff;
    font-size: 4rem;
    font-weight: 720;
    line-height: 0.98;
}

.landing-page .hero-lead {
    max-width: 59ch;
    margin-top: 20px;
    color: #cfd7d3;
    font-size: 1rem;
    line-height: 1.58;
}

.landing-page .hero-copy > .hero-actions {
    margin-top: 24px;
    gap: 9px;
}

.landing-page .hero-copy > .hero-actions .btn-primary {
    color: #102138;
    background: #f2f5f8;
    border-color: #f2f5f8;
}

.landing-page .hero-copy > .hero-actions .btn-primary:hover {
    color: #ffffff;
    background: var(--nw-blue);
    border-color: var(--nw-blue);
}

.landing-page .hero-copy > .hero-actions .btn-ghost,
.landing-page .hero-copy > .hero-actions .btn-outline {
    color: #f5f7f6;
    background: transparent;
    border-color: #73817a;
}

.landing-page .hero-copy > .hero-actions .btn-ghost:hover,
.landing-page .hero-copy > .hero-actions .btn-outline:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.landing-page .hero-list {
    max-width: 640px;
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

.landing-page .hero-list li {
    color: #b9c4be;
    font-size: 0.77rem;
    line-height: 1.4;
}

.landing-page .hero-list li i {
    color: #86b8ec;
}

.hero-visual-panel {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #101716;
    box-shadow: none;
}

.hero-project-mosaic {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
}

.hero-project {
    min-height: 0;
    border: 0;
    border-radius: 0;
}

.hero-project-main {
    grid-row: 1 / 3;
}

.hero-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.02);
    transform: none;
}

.hero-project:hover img {
    transform: scale(1.025);
}

.hero-project::after {
    height: 48px;
    background: rgba(9, 15, 13, 0.82);
}

.hero-project span {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

.hero-visual-summary {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 4;
    width: 330px;
    padding: 20px;
    color: var(--nw-ink);
    background: var(--nw-paper);
    border-left: 4px solid var(--nw-red);
}

.hero-visual-summary h3 {
    color: var(--nw-ink);
    font-size: 1.08rem;
}

.hero-visual-summary .portfolio-kicker {
    color: var(--nw-blue-deep);
}

.hero-visual-link {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    color: #ffffff;
    background: var(--nw-blue);
}

.scroll-cue {
    z-index: 5;
    bottom: 16px;
    color: #ffffff;
}

/* Editorial content blocks */
.challenge-section {
    background: var(--nw-paper) !important;
}

.challenge-section .motion-card-grid,
.services-index-section .services-motion-grid {
    counter-reset: editorial-card;
    gap: 0;
    border-top: 1px solid var(--nw-ink);
    border-left: 1px solid var(--nw-line);
}

.challenge-card,
.services-index-section .service-card {
    counter-increment: editorial-card;
    position: relative;
    min-height: 225px;
    padding: 28px 24px 24px;
    border: 0;
    border-right: 1px solid var(--nw-line);
    border-bottom: 1px solid var(--nw-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.challenge-card::before,
.services-index-section .service-card::before {
    content: counter(editorial-card, decimal-leading-zero);
    position: absolute;
    top: 22px;
    right: 22px;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    color: #8b938e;
    background: transparent;
    font-size: 0.69rem;
    font-weight: 800;
}

.challenge-card .service-icon,
.services-index-section .service-card .service-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 40px;
    border: 0;
    border-radius: 2px;
    color: #ffffff;
    background: var(--nw-blue);
}

.challenge-card h3,
.services-index-section .service-card h3 {
    margin-bottom: 9px;
    font-size: 1.08rem;
}

.challenge-card p,
.services-index-section .service-card p {
    color: var(--nw-muted);
    font-size: 0.88rem;
}

.services-index-section {
    background: var(--nw-surface) !important;
}

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

.services-index-section .service-card {
    min-height: 184px;
    padding: 30px 40px 28px 102px;
}

.services-index-section .service-card .service-icon {
    position: absolute;
    top: 31px;
    left: 32px;
    margin: 0;
}

.services-index-section .service-card h3 {
    padding-right: 26px;
    line-height: 1.3;
}

.services-index-section .service-card p {
    max-width: 58ch;
    line-height: 1.68;
}

.services-index-section .learn-link {
    margin-top: 24px;
    color: var(--nw-blue-deep);
}

.commerce-principles-section,
.industries-section {
    padding: 48px 0;
}

.commerce-principles-section {
    color: #ffffff;
    background: var(--nw-blue) !important;
}

.commerce-principles-section .section-title,
.commerce-principles-section .section-subtitle,
.commerce-principles-section .card h3,
.commerce-principles-section .card p {
    color: #ffffff;
}

.commerce-principles-section .section-subtitle,
.commerce-principles-section .card p {
    color: #d8e4f4;
}

.commerce-principles-section .grid,
.industries-section .grid {
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.48);
}

.commerce-principles-section .card,
.industries-section .card {
    padding: 24px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.commerce-principles-section .card:last-child,
.industries-section .card:last-child {
    border-right: 0;
}

.commerce-principles-section .btn-primary {
    color: var(--nw-blue-deep);
    background: #ffffff;
    border-color: #ffffff;
}

.commerce-principles-section .btn-ghost {
    color: #ffffff;
    border-color: #b8cbea;
}

.industries-section {
    background: var(--nw-blue-soft) !important;
}

.industries-section .grid {
    border-color: #8fa8c7;
}

.industries-section .card {
    border-right-color: #aabbd1;
}

.industries-section .card h3 i {
    color: var(--nw-red);
}

/* Connected-system band */
.connected-system-section {
    padding: 68px 0;
    color: #ffffff;
    background: var(--nw-ink) !important;
    border-top: 0 !important;
}

.connected-system-section .section-title {
    color: #ffffff;
}

.connected-system-section .section-subtitle {
    color: #b9c5bf;
}

.connected-system-section .tag {
    color: #dce8f7;
    border-color: #52655d;
    background: transparent;
}

.system-stage {
    border: 1px solid #3b4842;
    border-radius: 0;
    background: #111b18;
    box-shadow: none;
}

.system-stage::before {
    display: none;
}

.system-node {
    color: #f5f7f6;
    background: #182520;
    border-color: #42544b;
    border-radius: 3px;
    box-shadow: none;
}

.system-node i {
    color: #90b9e7;
}

.system-lines line {
    stroke: #6f8fb5;
    filter: none;
}

.system-center {
    color: var(--nw-blue-deep);
    background: #f5f3ec;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.07);
}

.system-center::after {
    border-color: #86aee0;
}

.system-center small {
    color: #52605a;
}

/* Process, portfolio, transformation and FAQ */
.process-section {
    background: var(--nw-surface) !important;
}

.process-timeline {
    gap: 0;
    border-top: 1px solid var(--nw-ink);
    border-left: 1px solid var(--nw-line);
}

.process-timeline .timeline-line {
    display: none;
}

.process-step {
    min-height: 170px;
    padding: 22px;
    border: 0;
    border-right: 1px solid var(--nw-line);
    border-bottom: 1px solid var(--nw-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.step-no {
    width: auto;
    min-width: 0;
    height: auto;
    margin-bottom: 35px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--nw-red);
    background: transparent;
    font-size: 0.72rem;
}

.process-step.active .step-no {
    color: var(--nw-red);
    background: transparent;
    border: 0;
}

.process-step p {
    color: var(--nw-muted);
    font-size: 0.86rem;
}

.portfolio-motion-section {
    background: #e7e3db !important;
}

.portfolio-viewport {
    margin-inline: 0;
    padding: 0 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.portfolio-track {
    gap: 18px;
}

.portfolio-track .portfolio-card {
    width: 345px;
    min-width: 345px;
    overflow: hidden;
    border: 1px solid var(--nw-line);
    border-radius: 3px;
    background: var(--nw-surface);
    box-shadow: none;
}

.portfolio-image {
    min-height: 205px;
    border: 0;
    border-bottom: 1px solid var(--nw-line);
    background: #d8dbd7;
}

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

.portfolio-content {
    min-height: 245px;
    padding: 22px;
    background: var(--nw-surface);
}

.portfolio-content .btn {
    pointer-events: none;
}

.portfolio-progress {
    height: 2px;
    background: #b8bbb5;
}

.portfolio-progress span {
    background: var(--nw-red);
}

.transformation-section {
    background: var(--nw-surface) !important;
}

.transform-shell {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.transform-tabs,
.tab-buttons {
    width: 100%;
    max-width: 100%;
    padding: 3px;
    border: 1px solid var(--nw-line);
    border-radius: 3px;
    background: var(--nw-paper);
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.transform-tab,
.tab-btn {
    border-radius: 2px;
}

.transform-tab.active,
.tab-btn.active {
    color: #ffffff;
    background: var(--nw-blue);
    border-color: var(--nw-blue);
}

.transform-board {
    margin-top: 18px;
    gap: 0;
    border-top: 1px solid var(--nw-line);
    border-left: 1px solid var(--nw-line);
}

.transform-card {
    min-height: 124px;
    border: 0;
    border-right: 1px solid var(--nw-line);
    border-bottom: 1px solid var(--nw-line);
    border-radius: 0;
    background: var(--nw-paper);
}

.transformation-section.is-after .transform-card {
    border-color: #9eb6a8;
    background: var(--nw-sage);
}

.faq-section {
    background: var(--nw-paper) !important;
}

.faq-grid {
    gap: 0;
    margin-inline: 18px;
    border-top: 1px solid var(--nw-ink);
}

.faq-item {
    padding: 22px 24px;
    border: 0;
    border-bottom: 1px solid var(--nw-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.faq-item:nth-child(odd) {
    padding-right: 30px;
}

.faq-item:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid var(--nw-line);
}

.final-cta-section {
    padding: 0;
    border-top: 0 !important;
}

.final-cta-section .container {
    width: 100%;
    max-width: none;
}

.cta-motion-card {
    padding: 58px max(28px, calc((100vw - 1280px) / 2 + 28px)) !important;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    background: var(--nw-blue);
    box-shadow: none;
}

.cta-motion-card::before {
    display: none;
}

.cta-motion-card .section-title,
.cta-motion-card .section-subtitle {
    color: #ffffff;
}

.cta-motion-card .section-subtitle {
    color: #dbe6f5;
}

.final-cta-section .cta-motion-card .section-title {
    max-width: none;
    white-space: nowrap;
}

.cta-motion-card .btn-primary {
    color: var(--nw-blue-deep);
    background: #ffffff;
    border-color: #ffffff;
}

.cta-motion-card .btn-ghost {
    color: #ffffff;
    border-color: #a9c3e5;
}

/* Internal-page system */
.page-main:not(.landing-page) {
    background: var(--nw-paper);
}

.page-main:not(.landing-page) > .container.hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 58px max(28px, calc((100vw - 1280px) / 2 + 28px));
    background: var(--nw-blue-soft);
    border-bottom: 1px solid #b5c6dc;
}

.page-main:not(.landing-page) > .container.hero .hero-grid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    align-items: stretch;
}

.page-main:not(.landing-page) > .container.hero .hero-copy {
    max-width: 900px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-main:not(.landing-page) .hero-title {
    max-width: 19ch;
    color: var(--nw-ink);
    font-size: 3.7rem;
    line-height: 0.98;
}

.page-main:not(.landing-page) .hero-lead {
    max-width: 68ch;
    color: #465750;
}

.page-main:not(.landing-page) .hero-panel {
    padding: 28px;
    border: 0;
    border-top: 4px solid var(--nw-red);
    border-radius: 0;
    background: rgba(255, 254, 250, 0.72);
    box-shadow: none;
}

.page-main:not(.landing-page) > .section {
    background: transparent;
}

.form-shell {
    padding: 32px;
    border: 1px solid var(--nw-line);
    border-top: 4px solid var(--nw-blue);
    border-radius: 0;
    background: var(--nw-surface);
    box-shadow: none;
}

.form-field label {
    color: #303c37;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    border: 1px solid #aeb5b0;
    border-radius: 3px;
    color: var(--nw-ink);
    background: #ffffff;
    box-shadow: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--nw-blue);
    box-shadow: 0 0 0 3px rgba(20, 80, 163, 0.13);
}

.portfolio-page .portfolio-showcase {
    overflow: hidden;
    border: 1px solid var(--nw-line);
    border-radius: 3px;
    background: var(--nw-surface);
    box-shadow: none;
}

.portfolio-page .portfolio-showcase-copy {
    padding: 26px;
}

.portfolio-page .portfolio-shot {
    min-height: 280px;
    max-height: 360px;
}

.portfolio-page .grid.grid-2,
.portfolio-page .grid.grid-3 {
    gap: 12px;
}

.portfolio-page .grid.grid-2 > .portfolio-card,
.portfolio-page .grid.grid-3 > .card {
    box-shadow: none;
}

.blog-list-item {
    border: 0;
    border-top: 1px solid var(--nw-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.blog-list-item:last-child {
    border-bottom: 1px solid var(--nw-line);
}

.blog-post > .hero,
.blog-post > .section > .container {
    width: min(850px, calc(100% - 56px));
}

.blog-post > .hero {
    width: 100%;
}

.qr-shell,
.qr-generator-shell {
    gap: 24px;
}

.qr-preview-panel {
    border: 1px solid var(--nw-line);
    border-top: 4px solid var(--nw-red);
    border-radius: 0;
    background: var(--nw-surface);
    box-shadow: none;
}

/* Footer */
.site-footer {
    padding: 54px 0 24px;
    color: #e6eae8;
    background: var(--nw-ink);
    border-top: 5px solid var(--nw-red);
}

.site-footer .footer-shell {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.footer-grid {
    grid-template-columns: minmax(300px, 1.25fr) minmax(170px, 0.55fr) minmax(310px, 1fr);
    gap: 58px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
}

.footer-brand-heading {
    margin: 0 0 18px;
}

.footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.footer-brand-mark {
    display: grid;
    width: 78px;
    height: 48px;
    padding: 6px 8px;
    place-items: center;
    border: 1px solid #4b5751;
    border-radius: 3px;
    background: #fffefa;
}

.footer-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand-name {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 760;
    line-height: 1.2;
}

.footer-brand-lockup:hover .footer-brand-name {
    color: #b9d1ef;
}

.site-footer .section-subtitle {
    color: #aeb8b3;
}

.site-footer a,
.site-footer .footer-links a {
    color: #e1e5e3;
}

.site-footer a:hover,
.site-footer .footer-links a:hover {
    color: #9ec0ec;
}

.site-footer .form-field input {
    color: #ffffff;
    background: #202925;
    border-color: #46534d;
}

.socials a {
    border-radius: 2px;
}

.footer-note {
    border-top-color: #38433e;
}

/* Dark mode remains available without changing the layout. */
html[data-theme="dark"] {
    --canvas: #111513;
    --surface: #1a201d;
    --surface-soft: #171c19;
    --surface-blue: #1b2938;
    --ink: #f2f1ec;
    --muted: #adb7b1;
    --line: #39423d;
    --line-strong: #59645e;
}

html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] .page-main:not(.landing-page) {
    color: #f2f1ec;
    background: #111513 !important;
}

html[data-theme="dark"] .nav-shell,
html[data-theme="dark"] .site-header.scrolled .nav-shell,
html[data-theme="dark"] .site-header.motion-scrolled .nav-shell {
    background: rgba(20, 25, 22, 0.97);
    border-color: #3b4540;
}

html[data-theme="dark"] .brand-copy strong,
html[data-theme="dark"] .site-nav a,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .menu-toggle {
    color: #eef1ef;
}

html[data-theme="dark"] .page-main:not(.landing-page) > .container.hero {
    background: #1b2938;
    border-color: #344963;
}

html[data-theme="dark"] .page-main:not(.landing-page) .hero-title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .challenge-card h3,
html[data-theme="dark"] .process-step h3,
html[data-theme="dark"] .faq-item summary {
    color: #f2f1ec;
}

html[data-theme="dark"] .page-main:not(.landing-page) .hero-lead,
html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .challenge-card p,
html[data-theme="dark"] .process-step p {
    color: #adb7b1;
}

html[data-theme="dark"] .services-index-section,
html[data-theme="dark"] .process-section,
html[data-theme="dark"] .transformation-section {
    background: #151a17 !important;
}

html[data-theme="dark"] .challenge-section,
html[data-theme="dark"] .faq-section,
html[data-theme="dark"] .portfolio-motion-section {
    background: #111513 !important;
}

html[data-theme="dark"] .industries-section {
    background: #1b2938 !important;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .challenge-card,
html[data-theme="dark"] .process-step,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .form-shell,
html[data-theme="dark"] .portfolio-card,
html[data-theme="dark"] .portfolio-showcase,
html[data-theme="dark"] .blog-list-item,
html[data-theme="dark"] .qr-preview-panel,
html[data-theme="dark"] .portfolio-content,
html[data-theme="dark"] .transform-shell {
    color: #f2f1ec;
    background: transparent;
    border-color: #3a443f;
}

html[data-theme="dark"] .portfolio-track .portfolio-card,
html[data-theme="dark"] .portfolio-content,
html[data-theme="dark"] .form-shell,
html[data-theme="dark"] .qr-preview-panel,
html[data-theme="dark"] .page-main:not(.landing-page) .hero-panel {
    background: #1a211d;
}

html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field select,
html[data-theme="dark"] .form-field textarea {
    color: #f2f1ec;
    background: #111513;
    border-color: #53605a;
}

html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .btn-outline {
    color: #edf1ef;
    background: transparent;
    border-color: #66736c;
}

@media (max-width: 1100px) {
    .brand-copy {
        display: none;
    }

    .landing-page .hero-title {
        font-size: 3.45rem;
    }

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

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 920px) {
    .page-main {
        padding-top: 72px;
    }

    .nav-wrap,
    .site-header.scrolled .nav-wrap,
    .site-header.motion-scrolled .nav-wrap {
        width: min(100% - 24px, 1280px);
        min-height: 72px;
    }

    .site-nav {
        top: calc(100% + 1px);
        left: -12px;
        right: -12px;
        width: auto;
        padding: 12px;
        border: 1px solid var(--nw-line);
        border-radius: 0 !important;
        background: var(--nw-surface) !important;
        box-shadow: 0 18px 42px rgba(21, 27, 25, 0.16);
    }

    .site-nav a {
        min-height: 45px;
        padding: 11px 12px;
        border-bottom: 1px solid var(--nw-line);
        border-radius: 0 !important;
    }

    .site-nav .btn {
        margin: 10px 0 0;
    }

    html[data-theme="dark"] .site-nav {
        background: #171d1a !important;
        border-color: #3b4540;
    }

    .landing-page .hero-grid {
        height: calc(100vh - 125px);
        min-height: 520px;
        max-height: 650px;
    }

    .landing-page .hero-grid::before {
        width: 100%;
        background: rgba(13, 21, 18, 0.88);
        clip-path: none;
    }

    .landing-page .hero-copy {
        width: 100%;
        max-width: 820px;
        padding: 36px 32px;
    }

    .landing-page .hero-title {
        max-width: 22ch;
        font-size: 2.8rem;
    }

    .landing-page .hero-list {
        display: none;
    }

    .hero-visual-summary {
        display: none;
    }

    .grid-4,
    .challenge-section .motion-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-index-section .services-motion-grid {
        grid-template-columns: 1fr;
    }

    .commerce-principles-section .grid,
    .industries-section .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-left: 1px solid rgba(255, 255, 255, 0.32);
    }

    .commerce-principles-section .card,
    .industries-section .card {
        border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    }

    .page-main:not(.landing-page) > .container.hero .hero-grid {
        grid-template-columns: 1fr;
    }

    .page-main:not(.landing-page) .hero-title {
        font-size: 3rem;
    }

    .final-cta-section .cta-motion-card .section-title {
        max-width: 20ch;
        white-space: normal;
    }
}

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

    .section {
        padding: 44px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-wrap,
    .site-header.scrolled .nav-wrap,
    .site-header.motion-scrolled .nav-wrap {
        width: min(100% - 20px, 1280px);
        min-height: 68px;
    }

    .brand-logo-full {
        height: 42px;
        max-width: 92px;
    }

    .theme-toggle,
    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .landing-page .hero-grid {
        height: calc(100vh - 118px);
        min-height: 570px;
        max-height: 670px;
    }

    .landing-page .hero-copy {
        padding: 36px 18px 34px;
        justify-content: center;
    }

    .landing-page .hero-eyebrow {
        margin-bottom: 10px;
        font-size: 0.64rem;
    }

    .landing-page .hero-title {
        max-width: 15ch;
        font-size: 2.3rem;
        line-height: 1;
    }

    .landing-page .hero-lead {
        margin-top: 15px;
        font-size: 0.88rem;
        line-height: 1.52;
    }

    .landing-page .hero-copy > .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    .landing-page .hero-copy > .hero-actions .btn {
        width: 100%;
        min-height: 43px;
        padding: 8px;
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .landing-page .hero-copy > .hero-actions .btn:nth-child(3) {
        grid-column: 1 / -1;
    }

    .hero-project-mosaic {
        grid-template-columns: 1fr;
    }

    .hero-project-main {
        grid-row: auto;
    }

    .hero-project:not(.hero-project-main) {
        display: none;
    }

    .hero-project span,
    .hero-project::after {
        display: none;
    }

    .scroll-cue {
        display: none;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .challenge-section .motion-card-grid,
    .commerce-principles-section .grid,
    .industries-section .grid,
    .footer-grid,
    .process-timeline,
    .transform-board,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .challenge-card,
    .services-index-section .service-card {
        min-height: 0;
    }

    .challenge-card .service-icon {
        margin-bottom: 26px;
    }

    .services-index-section .service-card {
        padding: 24px 24px 24px 82px;
    }

    .services-index-section .service-card .service-icon {
        left: 20px;
        top: 24px;
    }

    .commerce-principles-section .card,
    .industries-section .card {
        border-right: 0;
    }

    .process-step {
        min-height: 0;
    }

    .portfolio-track .portfolio-card {
        width: min(84vw, 315px);
        min-width: min(84vw, 315px);
    }

    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .tab-buttons .tab-btn {
        flex: 0 0 auto;
    }

    .portfolio-content {
        min-height: 235px;
    }

    .faq-item:nth-child(odd),
    .faq-item:nth-child(even) {
        padding: 20px 16px;
        border-left: 0;
    }

    .faq-grid {
        margin-inline: 6px;
    }

    .page-main:not(.landing-page) > .container.hero {
        padding: 40px 18px;
    }

    .page-main:not(.landing-page) .hero-title {
        font-size: 2.4rem;
    }

    .page-main:not(.landing-page) .hero-panel {
        padding: 22px;
    }

    .form-shell {
        padding: 22px 18px;
    }

    .blog-post > .hero,
    .blog-post > .section > .container {
        width: min(100% - 28px, 850px);
    }

    .cta-motion-card {
        padding: 44px 18px !important;
    }

    .final-cta-section .cta-motion-card .section-title {
        max-width: 20ch;
        white-space: normal;
    }

    .site-footer {
        padding-top: 44px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-grid > :first-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-project img {
        transition: none !important;
    }
}
