:root {
    --bg: #f7f7f7;
    --surface: #ffffff;
    --surface-soft: #e9f3fb;
    --ink: #222222;
    --muted: #666666;
    --line: #cccccc;
    --brand: #930784;
    --brand-dark: #910782;
    --accent: #930784;
    --navy: #222222;
    --navy-deep: #1e1e1e;
    --shadow: 0 16px 36px rgba(30, 30, 30, 0.1);
    --radius: 6px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.18;
}

h1 {
    max-width: 820px;
    font-size: clamp(2.45rem, 5.2vw, 5.15rem);
    font-weight: 780;
    letter-spacing: 0;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.75rem);
    letter-spacing: 0;
    text-wrap: balance;
}

h3 {
    font-size: 1.2rem;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.narrow {
    width: min(100% - 40px, 820px);
}

.skip-link,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 10px 14px;
    color: #fff;
    background: var(--brand);
    clip: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(15, 32, 56, 0.06);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 74px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    font-weight: 760;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    color: #fff;
    background: var(--brand);
    font-weight: 800;
}

.brand-text {
    font-size: 1.12rem;
    color: var(--ink);
}

.brand img,
.custom-logo-link img {
    width: auto;
    max-width: 168px;
    max-height: 42px;
    object-fit: contain;
}

.menu {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 2.2vw, 34px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    color: var(--navy);
    font-size: 0.96rem;
    font-weight: 760;
}

.menu a:hover {
    color: var(--brand);
}

.has-submenu > a::after,
.menu-item-has-children > a::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 7px;
    vertical-align: middle;
    content: "";
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.submenu,
.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 260;
    display: grid;
    min-width: 180px;
    gap: 4px;
    padding: 10px;
    margin: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(30, 30, 30, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(0);
    transition: opacity 160ms ease, transform 160ms ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-expanded .submenu,
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.is-expanded > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.submenu a,
.sub-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.submenu a:hover,
.sub-menu a:hover {
    background: var(--surface-soft);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-cta,
.button.primary {
    color: #fff;
    background: var(--brand);
}

.button.secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(147, 7, 132, 0.16);
}

/* Enterprise rebuild inspired by mature manufacturing/technology corporate sites. */
.site-main {
    background: #fff;
}

.site-header {
    position: fixed;
    border-bottom: 1px solid rgba(223, 229, 236, 0.95);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
}

.header-inner {
    min-height: 76px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background: var(--brand);
    font-size: 0.95rem;
}

.brand-text {
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 850;
}

.menu {
    justify-content: flex-end;
}

.header-cta {
    min-width: 112px;
    border-radius: 2px;
}

.k8-hero {
    position: relative;
    display: grid;
    min-height: 760px;
    overflow: hidden;
    color: #fff;
    background: var(--navy-deep);
}

.k8-hero-media,
.k8-hero-shade {
    position: absolute;
    inset: 0;
}

.k8-hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.k8-hero-shade {
    background:
        linear-gradient(90deg, rgba(30, 30, 30, 0.9) 0%, rgba(30, 30, 30, 0.68) 45%, rgba(30, 30, 30, 0.18) 100%),
        linear-gradient(180deg, rgba(30, 30, 30, 0.12), rgba(30, 30, 30, 0.68));
}

.k8-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    min-height: 760px;
    padding: 130px 0 86px;
}

.k8-label {
    margin: 0 0 18px;
    color: var(--brand);
    font-size: 0.94rem;
    font-weight: 850;
}

.k8-hero h1 {
    max-width: 860px;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 1.08;
}

.k8-hero p:not(.k8-label) {
    max-width: 820px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.08rem, 1.35vw, 1.3rem);
    line-height: 1.8;
}

.k8-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.button.primary,
.button.secondary {
    min-width: 148px;
    border-radius: 2px;
}

.k8-product-bar {
    background: #fff;
}

.k8-trust-strip,
.k8-support-strip {
    background: #fff;
}

.k8-trust-grid,
.k8-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.k8-trust-grid article,
.k8-support-grid article {
    display: grid;
    min-height: 138px;
    align-content: center;
    padding: 28px 34px;
    border-right: 1px solid var(--line);
    background: #fff;
}

.k8-trust-grid article:last-child,
.k8-support-grid article:last-child {
    border-right: 0;
}

.k8-trust-grid strong,
.k8-support-grid strong {
    color: var(--navy);
    font-size: 1.16rem;
    line-height: 1.35;
}

.k8-trust-grid span,
.k8-support-grid span {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.65;
}

.k8-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.k8-product-grid a {
    display: grid;
    min-height: 166px;
    align-content: center;
    padding: 30px 36px;
    border-right: 1px solid var(--line);
}

.k8-product-grid a:last-child {
    border-right: 0;
}

.k8-product-grid strong {
    color: var(--navy);
    font-size: 1.32rem;
    line-height: 1.35;
}

.k8-product-grid span {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.65;
}

.k8-section {
    padding: clamp(76px, 8vw, 118px) 0;
}

.k8-about {
    background: #fff;
}

.k8-split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(42px, 6vw, 96px);
}

.k8-split p + p {
    margin-top: 18px;
}

.k8-section h2,
.k8-cta h2 {
    color: var(--navy);
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    line-height: 1.16;
}

.k8-section-head {
    max-width: 880px;
    margin-bottom: 42px;
}

.k8-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.k8-card-grid.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.k8-card,
.k8-dark-card,
.k8-news-card {
    display: grid;
    align-content: start;
    min-height: 250px;
    padding: clamp(24px, 3vw, 34px);
    background: #fff;
}

.k8-card h3,
.k8-dark-card h3,
.k8-news-card h3,
.k8-list h3 {
    color: var(--navy);
    font-size: 1.22rem;
    line-height: 1.35;
}

.k8-card p,
.k8-dark-card p,
.k8-news-card p,
.k8-list p {
    margin-top: 14px;
    line-height: 1.72;
}

.k8-dark {
    color: #fff;
    background: var(--navy-deep);
}

.k8-dark .k8-section-head h2,
.k8-dark-card h3 {
    color: #fff;
}

.k8-dark-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.k8-dark-card p {
    color: rgba(255, 255, 255, 0.74);
}

.k8-list {
    display: grid;
    gap: 1px;
    background: var(--line);
}

.k8-list article {
    padding: 24px 28px;
    background: #fff;
}

.k8-media-section,
.k8-evidence,
.k8-product-focus {
    background: var(--surface-soft);
}

.k8-evidence-grid,
.k8-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.k8-evidence-grid article,
.k8-focus-grid article {
    min-height: 245px;
    padding: clamp(24px, 3vw, 36px);
    background: #fff;
}

.k8-evidence-grid span {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--brand);
    font-weight: 850;
}

.k8-evidence-grid h3,
.k8-focus-grid h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.24rem;
}

.k8-evidence-grid p,
.k8-focus-grid p {
    margin-top: 14px;
    line-height: 1.72;
}

.k8-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(38px, 5vw, 76px);
    align-items: center;
}

.k8-media-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.k8-process {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.k8-process li {
    padding: 15px 16px;
    border: 1px solid var(--line);
    color: var(--navy);
    background: #fff;
    font-weight: 800;
}

.k8-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.k8-news-card {
    border: 1px solid var(--line);
    min-height: 238px;
}

.k8-news-card span {
    margin-bottom: 18px;
    color: var(--brand);
    font-weight: 850;
}

.k8-cta {
    padding: clamp(76px, 8vw, 108px) 0;
    color: #fff;
    background: var(--navy-deep);
}

.k8-cta h2 {
    max-width: 900px;
    color: #fff;
}

.k8-cta .button {
    margin-top: 30px;
}

@media (max-width: 1120px) {
    .k8-card-grid.five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .k8-hero,
    .k8-hero-inner {
        min-height: 680px;
    }

    .k8-hero-inner {
        padding-top: 112px;
    }

    .k8-product-grid,
    .k8-trust-grid,
    .k8-support-grid,
    .k8-card-grid,
    .k8-card-grid.five,
    .k8-split,
    .k8-media-grid,
    .k8-evidence-grid,
    .k8-focus-grid,
    .k8-news-grid {
        grid-template-columns: 1fr;
    }

    .k8-product-grid a,
    .k8-trust-grid article,
    .k8-support-grid article {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .k8-product-grid a:last-child,
    .k8-trust-grid article:last-child,
    .k8-support-grid article:last-child {
        border-bottom: 0;
    }
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: #fff;
    background: var(--navy-deep);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
}

.hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(5, 17, 32, 0.94) 0%, rgba(8, 24, 43, 0.82) 42%, rgba(8, 24, 43, 0.42) 100%),
        linear-gradient(180deg, rgba(5, 17, 32, 0.42), rgba(5, 17, 32, 0.74));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    min-height: 760px;
    gap: clamp(38px, 5vw, 78px);
    padding: 150px 0 96px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: none;
}

.hero-summary {
    max-width: 760px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.06rem, 1.4vw, 1.28rem);
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-panel {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: rgba(9, 22, 39, 0.44);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.hero-panel div {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.hero-panel div:last-child {
    border-bottom: 0;
}

.hero-panel strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.35;
}

.hero-panel span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
}

.hero-checklist strong {
    color: #fff;
}

.home-product-strip {
    position: relative;
    z-index: 2;
    margin-top: -54px;
    padding-bottom: clamp(56px, 6vw, 76px);
}

.product-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(223, 229, 236, 0.92);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(15, 32, 56, 0.12);
}

.product-strip-item {
    display: grid;
    align-content: start;
    min-height: 168px;
    padding: clamp(24px, 3vw, 34px);
    border-right: 1px solid var(--line);
    transition: background 160ms ease, transform 160ms ease;
}

.product-strip-item:last-child {
    border-right: 0;
}

.product-strip-item span {
    color: var(--navy);
    font-size: clamp(1.1rem, 1.4vw, 1.34rem);
    font-weight: 820;
    line-height: 1.3;
}

.product-strip-item p {
    margin-top: 14px;
    color: #4f5f71;
    line-height: 1.72;
}

.product-strip-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.product-strip-item:hover span {
    color: var(--brand);
}

.section {
    padding: clamp(72px, 8vw, 112px) 0;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: start;
}

.intro {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.section-heading {
    max-width: 840px;
    margin-bottom: 42px;
}

.section-heading p:last-child {
    margin-top: 14px;
}

.service-grid,
.case-grid,
.post-grid,
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

.service-card,
.case-card,
.post-card,
.industry-grid article {
    min-height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
}

.service-card {
    position: relative;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(147, 7, 132, 0.28);
    box-shadow: var(--shadow);
}

.service-card h3,
.case-card h3,
.post-card h2,
.post-card h3 {
    margin-bottom: 12px;
}

.service-card a,
.case-card a,
.industry-grid a,
.footer-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-dark);
    font-weight: 800;
}

.service-kicker,
.post-date {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.visual-band {
    background: #eef3f7;
    color: #fff;
}

.visual-band p {
    color: var(--muted);
}

.visual-band h2 {
    color: var(--ink);
}

.visual-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(34px, 5vw, 70px);
    align-items: center;
}

.visual-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.industry-shell {
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 7vw, 86px) 0;
    background: var(--navy);
}

.industry-shell > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}

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

.industry-grid article {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
}

.industry-grid p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.industry-grid a {
    margin-top: 18px;
    color: #fff;
}

.case-card {
    background: #fff;
}

.faq {
    background: var(--surface);
}

.faq-list {
    display: grid;
    gap: 14px;
}

details {
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 800;
}

details p {
    margin-top: 12px;
}

.cta-section {
    padding: 70px 0;
    background: var(--surface-soft);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px;
    border-radius: 4px;
    color: #fff;
    background: #1e1e1e;
}

.cta-box .eyebrow,
.cta-box p {
    color: rgba(255, 255, 255, 0.78);
}

.page-hero {
    padding: 120px 0 76px;
    color: #fff;
    background: #1e1e1e;
}

.page-hero.compact {
    padding-top: 92px;
}

.service-hero {
    background: linear-gradient(110deg, rgba(30, 30, 30, 0.94), rgba(30, 30, 30, 0.7)), url("../images/hero-digital-operations.png") center / cover;
}

.industry-page-hero {
    background: linear-gradient(110deg, rgba(30, 30, 30, 0.94), rgba(30, 30, 30, 0.68)), url("../images/solutions-bg.jpg") center / cover;
}

.case-page-hero,
.insights-page-hero {
    background: linear-gradient(110deg, rgba(30, 30, 30, 0.94), rgba(30, 30, 30, 0.68)), url("../images/smart-manufacturing.png") center / cover;
}

.about-page-hero,
.contact-page-hero {
    background: linear-gradient(110deg, rgba(30, 30, 30, 0.94), rgba(30, 30, 30, 0.72)), url("../images/delivery-system.jpg") center / cover;
}

.page-content,
.article-body {
    background: #fff;
}

.page-content .container > * + *,
.article-body .container > * + * {
    margin-top: 18px;
}

.article-cover-wrap {
    padding: 34px 0 0;
    background: #fff;
}

.article-cover {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.article-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.service-list {
    display: grid;
    gap: 18px;
}

.detail-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 28px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

.detail-number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 4px;
    color: #fff;
    background: var(--brand);
    font-weight: 800;
}

.detail-card h2,
.industry-detail-card h2,
.case-card h2,
.value-grid h2,
.contact-card h2 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.tag-list li {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--brand-dark);
    background: var(--surface-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.industry-detail-grid,
.value-grid,
.contact-grid {
    display: grid;
    gap: 22px;
}

.industry-focus-grid {
    margin-top: 34px;
}

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

.industry-detail-card,
.value-grid article,
.contact-card,
.contact-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

.industry-detail-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-dark);
    font-weight: 800;
}

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

.contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.post-card {
    overflow: hidden;
    padding: 0;
}

.post-card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-card-body {
    padding: 24px;
}

.post-navigation-wrap {
    padding: 0 0 72px;
    background: #fff;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.pagination-wrap .nav-links,
.pagination-wrap {
    gap: 10px;
}

.pagination-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--navy);
    background: #fff;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(30, 30, 30, 0.06);
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pagination-wrap a.page-numbers:hover,
.pagination-wrap a.page-numbers:focus {
    transform: translateY(-1px);
    border-color: rgba(147, 7, 132, 0.35);
    color: #fff;
    background: var(--brand);
    box-shadow: 0 14px 28px rgba(147, 7, 132, 0.16);
}

.pagination-wrap .page-numbers.current {
    border-color: var(--brand);
    color: #fff;
    background: var(--brand);
    box-shadow: 0 14px 28px rgba(147, 7, 132, 0.14);
}

.pagination-wrap .page-numbers.prev,
.pagination-wrap .page-numbers.next {
    min-width: 78px;
}

.pagination-wrap .page-numbers.dots {
    min-width: 28px;
    border-color: transparent;
    color: var(--muted);
    background: transparent;
    box-shadow: none;
}

.post-navigation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.post-nav-card {
    display: grid;
    gap: 10px;
    min-height: 124px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f7f7;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.post-nav-card:hover {
    transform: translateY(-2px);
    border-color: rgba(147, 7, 132, 0.26);
    box-shadow: var(--shadow);
}

.post-nav-card span {
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 800;
}

.post-nav-card strong {
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.45;
}

.post-nav-card.next {
    text-align: right;
}

.post-nav-card.is-empty {
    visibility: hidden;
}

.home-news-section {
    background: #f7f7f7;
}

.home-news-heading {
    margin-inline: auto;
    margin-bottom: 52px;
    text-align: center;
}

.home-news-heading h2 {
    font-size: clamp(2rem, 3.4vw, 2.65rem);
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
}

.home-news-card {
    display: grid;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(204, 204, 204, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(30, 30, 30, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(147, 7, 132, 0.22);
    box-shadow: 0 18px 38px rgba(30, 30, 30, 0.12);
}

.home-news-thumb {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 16 / 10.5;
    color: #fff;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.96), rgba(147, 7, 132, 0.72));
}

.home-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-thumb span {
    display: grid;
    place-items: center;
    min-width: 104px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    font-weight: 800;
}

.home-news-thumb .topic-data {
    background: rgba(233, 243, 251, 0.34);
}

.home-news-thumb .topic-cloud {
    background: rgba(30, 30, 30, 0.34);
}

.home-news-thumb .topic-factory {
    background: rgba(51, 51, 51, 0.32);
}

.home-news-thumb .topic-integration {
    background: rgba(147, 7, 132, 0.26);
}

.home-news-thumb .topic-growth {
    background: rgba(153, 153, 153, 0.28);
}

.home-news-body {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 118px;
    padding: 22px 22px 24px;
}

.home-news-body h3 {
    margin: 0;
    color: var(--brand);
    font-size: 1.05rem;
    line-height: 1.42;
    font-weight: 800;
}

.home-news-body h3 a {
    color: inherit;
}

.home-news-body time {
    color: #8b96a5;
    font-size: 0.9rem;
    font-weight: 700;
}

.site-footer {
    padding: 58px 0 24px;
    color: rgba(255, 255, 255, 0.78);
    background: #1e1e1e;
}

.site-footer p,
.site-footer li {
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .brand-text {
    color: #fff;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1rem;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 28px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.footer-menu {
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Site-specific enterprise hero overrides */
.k8kf-hero .hero-media img {
    object-position: center;
}

.k8kf-hero::after {
    background:
        linear-gradient(90deg, rgba(30, 30, 30, 0.94) 0%, rgba(30, 30, 30, 0.76) 45%, rgba(30, 30, 30, 0.28) 100%),
        rgba(30, 30, 30, 0.16);
}

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

.service-grid-five .service-card {
    min-height: 314px;
}

.process-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.process-inline li {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--navy);
    background: #fff;
    font-size: 0.92rem;
    font-weight: 800;
}

.standards {
    background: #fff;
}

.trust-points {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.trust-points li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
}

.trust-points span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    color: #fff;
    background: var(--navy);
    font-weight: 850;
}

.trust-points div {
    color: var(--ink);
    font-weight: 760;
    line-height: 1.45;
}

.home-news-body p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.home-news-body h3 {
    color: var(--ink);
}

.home-news-body h3 a:hover {
    color: var(--brand);
}

.solutions .industry-shell > img {
    filter: saturate(0.96) contrast(1.02);
}

.process-hero {
    background: linear-gradient(110deg, rgba(30, 30, 30, 0.94), rgba(30, 30, 30, 0.72)), url("../images/delivery-system.jpg") center / cover;
}

.industry-hero {
    background: linear-gradient(110deg, rgba(30, 30, 30, 0.94), rgba(30, 30, 30, 0.68)), url("../images/solutions-bg.jpg") center / cover;
}

.insights-page-hero {
    background: linear-gradient(110deg, rgba(30, 30, 30, 0.94), rgba(30, 30, 30, 0.72)), url("../images/smart-manufacturing.png") center / cover;
}

.site-footer a:hover {
    color: #fff;
}

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

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

    .hero-grid,
    .visual-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

    .product-strip-grid {
        grid-template-columns: 1fr;
    }

    .product-strip-item {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .product-strip-item:last-child {
        border-bottom: 0;
    }

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

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

    .header-inner {
        grid-template-columns: auto auto;
        min-height: 64px;
    }

    .menu-toggle {
        display: inline-block;
        justify-self: end;
    }

    .primary-nav {
        display: none;
        grid-column: 1 / -1;
        padding: 0 0 18px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .menu {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .submenu,
    .sub-menu {
        position: static;
        min-width: 0;
        padding: 8px 0 0 14px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .header-cta {
        display: none;
    }

    .hero,
    .hero-grid {
        min-height: 680px;
    }

    .hero-grid {
        padding: 112px 0 64px;
    }

    .home-product-strip {
        margin-top: 0;
        padding: 0 0 44px;
        background: #fff;
    }

    .hero-panel,
    .service-grid,
    .service-grid-five,
    .case-grid,
    .post-grid,
    .home-news-grid,
    .industry-grid,
    .industry-detail-grid,
    .value-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-card {
        grid-template-columns: 1fr;
    }

    .post-navigation-grid {
        grid-template-columns: 1fr;
    }

    .post-nav-card.next {
        text-align: left;
    }

    .post-nav-card.is-empty {
        display: none;
    }

    .section {
        padding: 62px 0;
    }

    h1 {
        font-size: clamp(2.1rem, 11vw, 3.05rem);
    }

    .brand img,
    .custom-logo-link img {
        max-width: 138px;
        max-height: 38px;
    }

    .cta-box,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
