/* Authentic Onmark × Robixx 7-Section Homepage Transplant + Scoped Inner Modules.
   100% pure Onmark + Robixx template color tokens (#ffffff, #f8f8f8, #ececec, #eeeeee, #dadada, #bbbbbb, #8d8d8d, #6b5f5f, #373737, #222222, #1a1a1a, #000000, #ac1717).
   English site-wide font: Switzer + Geist Mono (from onmark-website-template).
   Chinese site-wide font: Switzer (Latin/digits) + Noto Sans SC / 思源黑体.
   Zero bare element selectors. */

:root {
  --om-white: #ffffff;
  --om-sand: #f8f8f8;
  --om-sand-line: #dadada;
  --om-border-soft: #eeeeee;
  --om-ink: #000000;
  --om-ink-dark: #1a1a1a;
  --om-ink-soft: #6b5f5f;
  --om-muted: #6b5f5f;
  --om-accent: #ac1717;
  --om-accent-light: #ffffff;
  --om-radius-lg: 20px;
  --om-radius-md: 16px;
  --om-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --om-font-primary: var(--_typography---font-family--primary, 'Switzer', Arial, sans-serif);
  --om-font-secondary: var(--_typography---font-family--secondary, 'Geist Mono', Arial, sans-serif);
}

.om-top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.om-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Neutralize Robixx global ul gradient-text & link uppercase inside Onmark scopes */
:is(.om-onmark-home, .om-tpl, .om-section, .om-robixx-matrix, .om-inner-cta) ul {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.om-onmark-home a:not(.main-button):not(.om-pill-btn) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  text-decoration: none;
}

/* Global hidden state enforcement for interactive tabs, filters, and model selector rows/cards */
.om-process-pane[hidden],
.blog-card[hidden],
.om-filter-item[hidden],
[data-topic-item][hidden],
.om-tpl .w-dyn-item[hidden],
.om-model-row[hidden],
.om-selector-card[hidden] {
  display: none !important;
}

/* ==========================================================================
   SHARED ONMARK BUTTON (.main-button / .om-pill-btn), SCROLL STAMP & BTT
   ========================================================================== */

.om-section {
  position: relative;
}

.om-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--om-font-secondary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--om-ink);
}

:is(.dark-background, .fx-dark, [data-logo-surface='dark']) .om-eyebrow > span {
  color: #ffffff;
}

.om-eyebrow--center {
  justify-content: center;
}

.om-star-svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Exact Onmark .main-button pill with dual-layer vertical rollover + rotating 4-point star */
.main-button.om-pill-btn,
.om-pill-btn {
  box-sizing: border-box;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 1.25rem 1.5rem 1.3rem 2rem;
  border-radius: 100px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: var(--om-font-primary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.35s var(--om-ease), transform 0.35s var(--om-ease);
}

.main-button.w-variant-4253ac7b-9478-235c-509c-0e3ed96ae44d,
.om-pill-btn--full {
  width: 100%;
  justify-content: center;
}

.om-pill-btn:hover {
  background-color: #ac1717;
  color: #ffffff;
  opacity: 1;
}

.om-pill-btn:focus-visible {
  outline: 2px solid #ac1717;
  outline-offset: 4px;
}

.main-button-block.om-pill-text-clip,
.om-pill-text-clip {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 1.25em;
  line-height: 1.25em;
  overflow: hidden;
  position: relative;
}

.button-text.om-pill-text,
.om-pill-text {
  display: block;
  flex: 0 0 1.25em;
  height: 1.25em;
  min-height: 1.25em;
  white-space: nowrap;
  color: #ffffff;
  font-size: inherit;
  line-height: 1.25em;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.4s var(--om-ease);
}

html[lang^='zh'] .button-text.om-pill-text,
html[lang^='zh'] .om-pill-text {
  letter-spacing: 0.04em;
  text-transform: none;
}

.om-pill-btn:hover .om-pill-text--pre,
.om-pill-btn:focus-visible .om-pill-text--pre,
.om-pill-btn:hover .om-pill-text--post,
.om-pill-btn:focus-visible .om-pill-text--post {
  transform: translateY(-100%);
}

.button-icon.om-pill-icon,
.om-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: none;
  color: #ffffff;
  position: relative;
  top: -1px;
  transition: transform 0.45s var(--om-ease);
}

.om-pill-btn:hover .om-pill-icon,
.om-pill-btn:focus-visible .om-pill-icon {
  transform: rotate(180deg);
}

@media (max-width: 479px) {
  .main-button.om-pill-btn,
  .om-pill-btn {
    padding: 0.95rem 1.15rem 1rem 1.35rem;
    gap: 0.5rem;
    font-size: 0.875rem;
    min-height: 48px;
  }

  .om-pill-btn .om-pill-text-clip {
    min-width: 0;
    flex: 0 1 auto;
  }
}

/* Opening Hero Rotating Scroll Stamp */
.om-scroll-stamp {
  position: absolute;
  right: var(--hero-gutter, clamp(24px, 6vw, 160px));
  bottom: clamp(190px, 23svh, 250px);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #000000;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--om-ease), border-color 0.35s var(--om-ease);
}

.om-scroll-stamp:hover {
  transform: scale(1.06);
  border-color: #ac1717;
  color: #ac1717;
  opacity: 1;
}

.om-scroll-ring {
  width: 100%;
  height: 100%;
  animation: om-spin 20s linear infinite;
}

.om-scroll-ring-text {
  font-family: var(--om-font-secondary);
  font-size: 9.2px;
  font-weight: 500;
  letter-spacing: 0.16em;
  fill: currentColor;
  text-transform: uppercase;
}

.om-scroll-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

@keyframes om-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Footer Circular Back-to-Top Fallback */
.om-btt-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.om-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s var(--om-ease), background-color 0.3s var(--om-ease);
}

.om-back-to-top:hover {
  border-color: #ffffff;
  background: #ac1717;
  color: #ffffff;
  opacity: 1;
}

.om-btt-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

.om-btt-label {
  font-family: var(--om-font-secondary);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   AUTHENTIC ONMARK HOMEPAGE SCOPE (.om-onmark-home) — EXACT TEMPLATE RULES
   ========================================================================== */

.om-onmark-home {
  background-color: #f8f8f8;
  color: #000000;
  font-family: var(--om-font-primary);
  box-sizing: border-box;
}

.om-onmark-home *,
.om-onmark-home *::before,
.om-onmark-home *::after {
  box-sizing: border-box;
}

.om-onmark-home .w-layout-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-row-gap: 16px;
  grid-column-gap: 16px;
}

.om-onmark-home .padding-global {
  padding-left: 2.25rem;
  padding-right: 2.25rem;
  width: 100%;
}

.om-onmark-home .container-large {
  width: 100%;
  max-width: 120rem;
  margin-left: auto;
  margin-right: auto;
}

.om-onmark-home .padding-section-large {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.om-onmark-home .white-background {
  border-radius: 1.25rem;
  background-color: #ffffff;
  position: relative;
  overflow: clip;
}

.om-onmark-home .subtitle-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.om-onmark-home .star-icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.om-onmark-home .subtitle {
  font-family: var(--om-font-secondary);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000000;
}

.om-onmark-home .heading-style-h2 {
  margin: 0;
  font-family: var(--om-font-primary);
  font-size: clamp(3rem, 6.2vw, 7rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000000;
  overflow-wrap: break-word;
}

html[lang^='zh'] .om-onmark-home .heading-style-h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.om-onmark-home .text-color-secondary {
  color: #6b5f5f;
}

.om-onmark-home .text-color-alternate {
  color: #ffffff;
}

.om-onmark-home .text-size-medium {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
  color: #1a1a1a;
}

.om-onmark-home .text-size-regular {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 500;
  color: #1a1a1a;
}

.om-onmark-home .text-size-small {
  color: #000000;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 500;
}

.om-onmark-home .text-size-small.text-color-alternate {
  color: #ffffff;
  font-family: var(--om-font-secondary);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.om-onmark-home .max-width-medium {
  width: 100%;
  max-width: 32rem;
}

.om-onmark-home .spacer-large {
  width: 100%;
  padding-top: 3rem;
}

.om-onmark-home .spacer-xlarge {
  width: 100%;
  padding-top: 4rem;
}

.om-onmark-home .spacer-xxlarge {
  width: 100%;
  padding-top: 5rem;
}

.om-onmark-home .spacer-huge {
  width: 100%;
  padding-top: 6rem;
}

.om-onmark-home .doted-line {
  width: 100%;
  height: 1px;
  border-top: 1px dashed #dadada;
}

.om-onmark-home .button-wrap {
  display: flex;
}

/* ---------- Onmark Rolling Odometer (.roll-number-wrapper / .number) ---------- */

.om-onmark-home .number-grid {
  grid-column-gap: 2.5rem;
  grid-row-gap: 2.5rem;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
}

.om-onmark-home .number-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}

.om-onmark-home .om-kpi-align-1 {
  justify-self: start;
}

.om-onmark-home .om-kpi-align-2 {
  justify-self: center;
}

.om-onmark-home .om-kpi-align-3 {
  justify-self: end;
}

.om-onmark-home .roll-number-wrapper {
  display: inline-flex;
  align-items: baseline;
  height: 6rem;
  min-height: 6rem;
  overflow: hidden;
  font-family: var(--om-font-primary);
  font-variant-numeric: tabular-nums;
}

.om-onmark-home .roll-number {
  display: inline-block;
  height: 6rem;
  min-height: 6rem;
  overflow: hidden;
}

.om-onmark-home .om-roll-col {
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--om-digit, 0) * -10%));
  will-change: transform;
}

.om-onmark-home .number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  min-height: 6rem;
  color: #000000;
  font-family: var(--om-font-primary);
  font-size: 6rem;
  line-height: 1;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.03em;
}

.om-onmark-home .number.alternate {
  color: #6b5f5f;
  padding: 0 0.04em;
}

.om-onmark-home .om-roll-space {
  display: inline-block;
  width: 0.24em;
  font-size: 6rem;
}

.om-onmark-home .om-kpi-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.om-onmark-home .om-kpi-sku {
  font-family: var(--om-font-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5f5f;
}

/* ---------- [1] Onmark section-home-header (Giant Title + 8-Card 3D Fan Wheel) ---------- */

.om-onmark-home .section-home-header {
  position: relative;
  overflow: clip;
  background-color: #f8f8f8;
}

.om-onmark-home .header-component-grid {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  height: 100vh;
  min-height: 44rem;
  max-height: 68rem;
  position: relative;
}

.om-onmark-home .om-header-bg-cell {
  grid-area: 1 / 1 / 7 / 7;
}

.om-onmark-home .om-header-fan-cell {
  grid-area: 1 / 1 / 7 / 7;
  place-self: center;
}

.om-onmark-home .om-header-bottom-cell {
  grid-area: 1 / 1 / 7 / 7;
  align-self: end;
  z-index: 12;
}

.om-onmark-home .header-content-wrapper {
  border-radius: 1.25rem;
  background-color: #ffffff;
  margin: 10px;
  position: relative;
  overflow: hidden;
}

.om-onmark-home .header-content-block {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 1.5rem;
}

.om-onmark-home .header-title {
  font-family: var(--om-font-primary);
  font-size: clamp(3.2rem, 15.5vw, 15rem);
  line-height: 0.95;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000000;
  user-select: none;
}

.om-onmark-home .header-image-block {
  z-index: 10;
  perspective: 2000px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform: translate(0);
  pointer-events: none;
}

.om-onmark-home .header-container {
  perspective: 2000px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(0);
}

.om-onmark-home .header-block {
  perspective: 3000px;
  transform-style: preserve-3d;
  position: absolute;
  transform: scale(0.85) rotateX(0deg) rotateY(-45deg) rotateZ(0deg);
}

.om-onmark-home .header-component {
  perspective: 3000px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  will-change: transform;
}

.om-onmark-home .header-image-wrapper {
  transform-origin: 50% 100%;
  width: 24rem;
  height: 24rem;
  position: absolute;
  bottom: 0;
  transform-style: preserve-3d;
}

.om-onmark-home .header-image-wrapper._01 {
  z-index: 1;
  transform: rotateX(45deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home .header-image-wrapper._02 {
  z-index: 2;
  transform: rotateX(30deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home .header-image-wrapper._03 {
  z-index: 3;
  transform: rotateX(15deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home .header-image-wrapper._04 {
  z-index: 4;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home .header-image-wrapper._05 {
  z-index: 5;
  transform: rotateX(-15deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home .header-image-wrapper._06 {
  z-index: 6;
  transform: rotateX(-30deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home .header-image-wrapper._07 {
  z-index: 7;
  transform: rotateX(-45deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home .header-image-wrapper._08 {
  z-index: 8;
  transform: rotateX(-60deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home .header-image {
  border-radius: 1rem;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
}

.om-onmark-home .header-content {
  position: relative;
  bottom: 2.5rem;
}

.om-onmark-home .header-content-grid {
  grid-template-rows: auto;
  grid-template-columns: 1fr auto;
  width: 100%;
  align-items: end;
}

.om-onmark-home .om-header-desc-cell {
  place-self: end start;
}

.om-onmark-home .om-header-scroll-cell {
  place-self: end;
}

.om-onmark-home .header-description-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  width: 25rem;
  max-width: 100%;
}

.om-onmark-home .header-text {
  margin: 0;
  font-family: var(--om-font-primary);
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #000000;
}

.om-onmark-home .social-media-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.875rem;
}

.om-onmark-home .social-link {
  background-color: #000000;
  color: #ffffff;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  transition: background-color 0.3s var(--om-ease);
}

.om-onmark-home .social-link:hover {
  background-color: #ac1717;
  color: #ffffff;
}

.om-onmark-home .social-icon-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 1.25rem;
  height: 1.25rem;
  overflow: hidden;
}

.om-onmark-home .social-icon {
  color: #ffffff;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--om-ease);
}

.om-onmark-home .social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.om-onmark-home .social-link:hover .social-icon {
  transform: translateY(-100%);
}

.om-onmark-home .scroll-down-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: #000000;
}

.om-onmark-home .scroll-down {
  width: 9rem;
  height: 9rem;
  animation: om-spin 22s linear infinite;
}

.om-onmark-home .scroll-down-arrow {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
}

/* ---------- [2] Onmark section-home-intro ---------- */

.om-onmark-home .section-home-intro {
  background-color: #f8f8f8;
}

.om-onmark-home .intro-component-grid {
  grid-template-rows: auto auto;
  grid-template-columns: 0.5fr 1fr;
  column-gap: 3rem;
  row-gap: 2.5rem;
  width: 100%;
  padding-left: 4rem;
}

.om-onmark-home .om-intro-cell-sub {
  grid-area: 1 / 1 / 2 / 2;
}

.om-onmark-home .om-intro-cell-main {
  grid-area: 1 / 2 / 3 / 3;
  justify-self: center;
  width: 100%;
}

.om-onmark-home .om-intro-cell-num {
  grid-area: 2 / 1 / 3 / 2;
  align-self: end;
}

.om-onmark-home .intro-content-wrap {
  width: 100%;
  max-width: 45rem;
  line-height: 1.6;
}

.om-onmark-home .intro-text {
  margin: 0;
  font-family: var(--om-font-primary);
  font-size: 3rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #000000;
}

html[lang^='zh'] .om-onmark-home .intro-text {
  font-size: 2.5rem;
  line-height: 1.38;
}

.om-onmark-home .om-barcode {
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.om-onmark-home .intro-number-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3rem;
}

.om-onmark-home .om-rating-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 1.25rem;
}

.om-onmark-home .client-avatar-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.om-onmark-home .client-avatar {
  background-color: #1a1a1a;
  border: 1px solid #bbbbbb;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #ffffff;
}

.om-onmark-home .client-avatar._02,
.om-onmark-home .client-avatar._03,
.om-onmark-home .client-avatar._04 {
  margin-left: -10px;
}

.om-onmark-home .client-avatar._04 {
  background-color: #ac1717;
  border-color: #ffffff;
}

.om-onmark-home .om-star-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.om-onmark-home .om-star-img {
  width: 1.35rem;
  height: 1.35rem;
}

.om-onmark-home .rating-block {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 5px;
  color: #000000;
  font-size: 14px;
  line-height: 1.2;
}

/* ---------- [3] Onmark section-home-projects (Selected Works©) ---------- */

.om-onmark-home.section-home-projects {
  padding: 10px;
  background-color: #f8f8f8;
  overflow: visible;
}

.om-onmark-home.section-home-projects > .white-background {
  overflow: visible;
}

.om-onmark-home .top-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.om-onmark-home .project-component {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  perspective: 1000px;
  position: relative;
}

.om-onmark-home .project-content-wrap {
  position: sticky;
  top: 6.5rem;
  transform-style: preserve-3d;
}

.om-onmark-home .project-component-grid {
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.om-onmark-home .project-link {
  display: block;
  border: 1px solid #eeeeee;
  border-radius: 1rem;
  background-color: #f8f8f8;
  width: 100%;
  text-decoration: none;
  color: #000000;
}

.om-onmark-home .project-wrapper {
  border-radius: 1.25rem;
  position: relative;
}

.om-onmark-home .project-container {
  z-index: 2;
  padding: 1rem;
  position: relative;
}

.om-onmark-home .project-grid {
  border: 1px solid #dadada;
  background-color: #ffffff;
  border-radius: 0.875rem;
  grid-template-rows: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  align-items: center;
}

.om-onmark-home .om-proj-item-start {
  place-self: center start;
  min-width: 0;
}

.om-onmark-home .om-proj-item-end {
  place-self: center end;
}

.om-onmark-home .project-content-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  color: #000000;
}

.om-onmark-home .browser-shape-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.om-onmark-home .browser-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.om-onmark-home .browser-dot {
  border-radius: 100px;
  width: 8px;
  height: 8px;
}

.om-onmark-home .browser-dot._01 {
  background-color: #ac1717;
}

.om-onmark-home .browser-dot._02 {
  background-color: #8d8d8d;
}

.om-onmark-home .browser-dot._03 {
  background-color: #dadada;
}

.om-onmark-home .project-name {
  margin: 0;
  color: #000000;
  font-family: var(--om-font-primary);
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[lang^='zh'] .om-onmark-home .project-name {
  text-transform: none;
  letter-spacing: 0.01em;
}

.om-onmark-home .project-arrow-wrap {
  z-index: 10;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  transition: transform 0.35s var(--om-ease), background-color 0.35s var(--om-ease);
}

.om-onmark-home .project-link:hover .project-arrow-wrap {
  transform: scale(1.08);
  background-color: #ac1717;
}

.om-onmark-home .project-arrow-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 1.125rem;
  height: 1.125rem;
  position: relative;
  overflow: hidden;
}

.om-onmark-home .project-arrow {
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.125rem;
  height: 1.125rem;
  position: absolute;
  inset: 0;
  transition: transform 0.38s var(--om-ease);
}

.om-onmark-home .project-arrow._01 {
  transform: translateX(0%);
}

.om-onmark-home .project-arrow._02 {
  transform: translateX(-125%);
}

.om-onmark-home .project-link:hover .project-arrow._01 {
  transform: translateX(125%);
}

.om-onmark-home .project-link:hover .project-arrow._02 {
  transform: translateX(0%);
}

.om-onmark-home .project-image-wrapper {
  border-radius: 0.875rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
}

.om-onmark-home .project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--om-ease);
}

.om-onmark-home .project-link:hover .project-image {
  transform: scale(1.04);
}

.om-onmark-home .project-logo-wrap {
  z-index: 5;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding-bottom: 1.25rem;
  padding-left: 1.25rem;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.56) 100%);
  pointer-events: none;
}

.om-onmark-home .project-logo-block {
  display: flex;
  flex-direction: column;
  height: 2.25rem;
  overflow: hidden;
}

.om-onmark-home .om-project-tag {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0 1rem;
  border-radius: 100px;
  background: rgba(26, 26, 26, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: var(--om-font-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.38s var(--om-ease);
}

.om-onmark-home .project-link:hover .om-project-tag {
  transform: translateY(-100%);
}

/* ---------- [4] Onmark section-home-services (Core Services + 3-Col Number Grid) ---------- */

.om-onmark-home.section-home-services {
  background-color: #f8f8f8;
}

.om-onmark-home .service-component-grid {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-rows: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.om-onmark-home .service-card {
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  position: relative;
  overflow: hidden;
}

.om-onmark-home .service-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2.25rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.om-onmark-home .service-icon {
  height: 7rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.om-onmark-home .service-ttitle {
  margin: 0;
  font-family: var(--om-font-primary);
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000000;
}

.om-onmark-home .service-ttitle a:hover {
  color: #ac1717;
}

.om-onmark-home .service-card .text-size-regular {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: #373737;
}

.om-onmark-home .service-background {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0.65;
  pointer-events: none;
}

/* ---------- [5] Onmark section-home-testimonial ---------- */

.om-onmark-home.om-home-testi {
  padding: 10px;
  background-color: #f8f8f8;
}

.om-onmark-home.om-home-testi .w-slide {
  background-color: #ffffff;
}

.om-onmark-home .om-testi-grid {
  grid-column-gap: 4rem;
  grid-row-gap: 3rem;
  grid-template-rows: auto;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
  align-items: stretch;
  width: 100%;
}

.om-onmark-home .om-testi-image-wrapper {
  border-radius: 1.25rem;
  width: 100%;
  min-height: 34rem;
  position: relative;
  overflow: hidden;
}

.om-onmark-home .om-testi-image {
  border-radius: 1.25rem;
  width: 100%;
  height: 100%;
  min-height: 34rem;
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
}

.om-onmark-home .om-testi-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.om-onmark-home .image-overlay {
  border-radius: 1.25rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.82) 100%);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.om-onmark-home .om-testi-image-wrap {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  position: absolute;
  inset: 0;
}

.om-onmark-home .om-testi-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.om-onmark-home .star-rating-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.om-onmark-home .om-star-glyph {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  color: #000000;
}

.om-onmark-home .om-star-glyph.is-white {
  color: #ffffff;
}

.om-onmark-home .om-testi-wordmark {
  font-family: var(--om-font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-top: 0.25rem;
}

.om-onmark-home .om-testi-badge {
  font-family: var(--om-font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.om-onmark-home .om-testi-sub {
  font-family: var(--om-font-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.om-onmark-home .om-testi-content-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1.5rem 0;
}

.om-onmark-home .om-glyph-wrap {
  z-index: 1;
  position: absolute;
  right: 1.5rem;
  bottom: 2.5rem;
  pointer-events: none;
}

.om-onmark-home .om-glyph-mark {
  opacity: 0.07;
  width: 5rem;
  height: 5rem;
}

.om-onmark-home .testimonials-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ---------- [6] Onmark section-home-prcing (8-Face 3D Drum + 2 Scope Cards) ---------- */

.om-onmark-home.section-home-prcing {
  background-color: #f8f8f8;
}

.om-onmark-home .pricing-component-grid {
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  grid-template-rows: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  align-items: stretch;
}

.om-onmark-home .pricing-3d-wrap {
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 38rem;
  position: relative;
  overflow: hidden;
}

.om-onmark-home ._3d-block {
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.om-onmark-home ._3d-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.om-onmark-home ._3d-wrapper {
  perspective: 1000px;
  transform: translate(0) scale(0.6);
}

.om-onmark-home ._3d-object {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.om-onmark-home ._3d-face {
  transform-origin: 50% 0;
  width: 28rem;
  height: 24rem;
  position: absolute;
  top: 0;
  transform-style: preserve-3d;
}

.om-onmark-home ._3d-face._01 {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home ._3d-face._02 {
  transform: rotateX(-45deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home ._3d-face._03 {
  transform: rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home ._3d-face._04 {
  transform: rotateX(-135deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home ._3d-face._05 {
  transform: rotateX(-180deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home ._3d-face._06 {
  transform: rotateX(-225deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home ._3d-face._07 {
  transform: rotateX(-270deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home ._3d-face._08 {
  transform: rotateX(-315deg) rotateY(0deg) rotateZ(0deg);
}

.om-onmark-home ._3d-image {
  border-radius: 1rem;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.om-onmark-home .pricing-bg-wrap {
  z-index: 1;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.om-onmark-home .pricing-bg-image {
  z-index: 1;
  opacity: 0.35;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.om-onmark-home ._3d-opacity {
  z-index: 2;
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78));
  width: 100%;
  height: 100%;
  position: absolute;
  inset: auto 0 0;
}

.om-onmark-home .pricing-content-wrap {
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
}

.om-onmark-home .plan-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 1rem;
  position: relative;
}

.om-onmark-home .plan-block {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  width: 100%;
  height: 100%;
}

.om-onmark-home .plan-top-wrap {
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  position: relative;
}

.om-onmark-home .plan-top-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.om-onmark-home .pricing-icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.om-onmark-home .plan-name {
  margin: 0;
  color: #000000;
  font-family: var(--om-font-primary);
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 600;
  text-transform: uppercase;
}

html[lang^='zh'] .om-onmark-home .plan-name {
  text-transform: none;
}

.om-onmark-home .plan-tag {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  border-radius: 32px;
  padding: 6px 0.9rem 7px;
  font-family: var(--om-font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex: none;
}

.om-onmark-home .plan-tag.om-plan-tag--accent {
  background-color: #ac1717;
}

.om-onmark-home .price-text {
  color: #000000;
  font-family: var(--om-font-primary);
  font-size: clamp(2.5rem, 3.6vw, 3.75rem);
  line-height: 1.05;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.om-onmark-home .bottom-plan-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  margin-top: auto;
}

.om-onmark-home .feature-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.om-onmark-home .feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #eeeeee;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.om-onmark-home .check-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #000000;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.om-onmark-home .price-feature-text {
  color: #000000;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}

.om-onmark-home .timeline-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.om-onmark-home .timeline-icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.om-onmark-home .timeline-text {
  color: #000000;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---------- [7] Onmark call-to-action (Interactive Mouse-Trail CTA) ---------- */

.om-onmark-home.call-to-action {
  height: 100vh;
  min-height: 40rem;
  max-height: 62rem;
  padding: 10px;
  position: relative;
  overflow: clip;
  background-color: #f8f8f8;
}

.om-onmark-home.call-to-action > .white-background {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: clip;
}

.om-onmark-home .cta-content-wrapper {
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  pointer-events: none;
}

.om-onmark-home .cta-content {
  z-index: 6;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  top: -3rem;
  padding: 0 1.5rem;
}

.om-onmark-home .cta-content .subtitle-wrap {
  justify-content: center;
}

.om-onmark-home .cta-title-wrap {
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.om-onmark-home .cta-title {
  margin: 0;
  font-family: var(--om-font-primary);
  font-size: clamp(2.75rem, 6.8vw, 7.5rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #000000;
  text-wrap: balance;
}

html[lang^='zh'] .om-onmark-home .cta-title {
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 1.18;
}

.om-onmark-home .gsap-component {
  z-index: 4;
  text-align: center;
  display: block;
  position: absolute;
  inset: 0;
}

.om-onmark-home .gsap-wrapper {
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.om-onmark-home .gsap-block,
.om-onmark-home .gsap-image-container {
  display: none;
}

.om-onmark-home .om-trail-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 12rem;
  aspect-ratio: 2 / 3;
  margin: -9rem 0 0 -6rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  border: 2px solid #ffffff;
  pointer-events: none;
  will-change: transform, opacity;
}

.om-onmark-home .om-trail-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.om-onmark-home .cta-button-wrapper {
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: auto 0 15vh;
  padding: 0 1rem;
}

.om-onmark-home .button-wrapper {
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.om-onmark-home .cta-background {
  z-index: 1;
  opacity: 0.16;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: -8% 0 0;
  pointer-events: none;
}

/* ---------- Exact Onmark Responsive Breakpoints (1440px+, 1920px+, <=991px, <=767px, <=479px) ---------- */

@media screen and (min-width: 1440px) {
  .om-onmark-home .header-block {
    transform: scale(0.9) rotateX(0deg) rotateY(-45deg) rotateZ(0deg);
  }
}

@media screen and (min-width: 1920px) {
  .om-onmark-home .roll-number,
  .om-onmark-home .roll-number-wrapper {
    height: 8rem;
    min-height: 8rem;
  }

  .om-onmark-home .number {
    height: 8rem;
    min-height: 8rem;
    font-size: 8rem;
  }
}

@media screen and (max-width: 991px) {
  .om-onmark-home .header-block {
    transform: scale(0.55) rotateX(0deg) rotateY(-45deg) rotateZ(0deg);
  }

  .om-onmark-home .scroll-down {
    width: 8rem;
    height: 8rem;
  }

  .om-onmark-home .intro-component-grid {
    padding-left: 0;
  }

  .om-onmark-home .intro-text {
    font-size: 2.25rem;
  }

  .om-onmark-home .service-component-grid {
    grid-template-columns: 1fr 1fr;
  }

  .om-onmark-home .service-icon {
    height: 6rem;
  }

  .om-onmark-home .om-testi-grid {
    grid-template-columns: 1fr;
  }

  .om-onmark-home .om-testi-image-wrapper,
  .om-onmark-home .om-testi-image {
    min-height: 28rem;
  }

  .om-onmark-home .pricing-component-grid {
    grid-template-columns: 1fr;
  }

  .om-onmark-home .pricing-3d-wrap {
    order: 3;
    min-height: 36rem;
  }

  .om-onmark-home.call-to-action {
    height: 46rem;
  }
}

@media screen and (max-width: 767px) {
  .om-onmark-home .padding-global {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .om-onmark-home .padding-section-large {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .om-onmark-home .spacer-huge {
    padding-top: 3.5rem;
  }

  .om-onmark-home .spacer-xxlarge {
    padding-top: 3rem;
  }

  .om-onmark-home .header-component-grid {
    height: 52rem;
    min-height: 40rem;
  }

  .om-onmark-home .header-content-wrapper {
    align-self: stretch;
    justify-self: stretch;
  }

  .om-onmark-home .header-content-block {
    align-items: flex-start;
    padding-top: clamp(3.75rem, 10vh, 5.5rem);
  }

  .om-onmark-home .header-image-block {
    padding-top: 3.5rem;
  }

  .om-onmark-home .header-block {
    transform: scale(0.45) rotateX(0deg) rotateY(-45deg) rotateZ(0deg);
  }

  .om-onmark-home .scroll-down {
    width: 7rem;
    height: 7rem;
  }

  .om-onmark-home .intro-component-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .om-onmark-home .om-intro-cell-sub,
  .om-onmark-home .om-intro-cell-main,
  .om-onmark-home .om-intro-cell-num {
    grid-area: auto;
    justify-self: start;
  }

  .om-onmark-home .intro-text {
    font-size: 2rem;
  }

  .om-onmark-home .project-content-wrap {
    position: static;
  }

  .om-onmark-home .project-component-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .om-onmark-home .roll-number,
  .om-onmark-home .roll-number-wrapper {
    height: 4.5rem;
    min-height: 4.5rem;
  }

  .om-onmark-home .number {
    height: 4.5rem;
    min-height: 4.5rem;
    font-size: 4.5rem;
  }

  .om-onmark-home .number-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .om-onmark-home .om-kpi-align-1,
  .om-onmark-home .om-kpi-align-2,
  .om-onmark-home .om-kpi-align-3 {
    justify-self: start;
  }

  .om-scroll-stamp {
    display: none;
  }
}

@media screen and (max-width: 479px) {
  .om-onmark-home .padding-section-large {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .om-onmark-home .header-component-grid {
    height: 44rem;
    min-height: 36rem;
  }

  .om-onmark-home .header-block {
    transform: scale(0.38) rotateX(0deg) rotateY(-45deg) rotateZ(0deg);
  }

  .om-onmark-home .header-content {
    bottom: 1.5rem;
  }

  .om-onmark-home .header-text {
    font-size: 1.65rem;
  }

  .om-onmark-home .scroll-down {
    width: 5.5rem;
    height: 5.5rem;
  }

  .om-onmark-home .intro-text {
    font-size: 1.65rem;
  }

  .om-onmark-home .service-component-grid {
    grid-template-columns: 1fr;
  }

  .om-onmark-home .service-icon {
    height: 5rem;
  }

  .om-onmark-home .service-content,
  .om-onmark-home .pricing-content-wrap {
    padding: 1.5rem;
  }

  .om-onmark-home .plan-top-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .om-onmark-home ._3d-wrapper {
    transform: scale(0.4);
  }

  .om-onmark-home .pricing-3d-wrap,
  .om-onmark-home.call-to-action {
    min-height: 32rem;
    height: 34rem;
  }

  .om-onmark-home .cta-button-wrapper {
    bottom: 5rem;
  }

  .om-onmark-home .roll-number,
  .om-onmark-home .roll-number-wrapper {
    height: 3.5rem;
    min-height: 3.5rem;
  }

  .om-onmark-home .number {
    height: 3.5rem;
    min-height: 3.5rem;
    font-size: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .om-scroll-ring,
  .om-onmark-home .scroll-down {
    animation: none !important;
  }

  .om-pill-btn,
  .om-pill-text,
  .om-pill-icon,
  .om-onmark-home .project-image,
  .om-onmark-home .project-arrow,
  .om-onmark-home .project-arrow-wrap,
  .om-onmark-home .om-project-tag,
  .om-onmark-home .social-icon {
    transition: none !important;
  }
}

/* ==========================================================================
   SCOPED ONMARK + ROBIXX SPLICED INNER MODULES (.om-tpl & .om-robixx-matrix)
   ========================================================================== */

/* 1. Scoped Onmark Layout Primitives (.om-tpl) */
.om-tpl {
  position: relative;
  box-sizing: border-box;
}

section.section.om-tpl:has(.padding-section-large) {
  padding-top: 0;
  padding-bottom: 0;
}

.om-tpl.white-background,
.om-tpl > .white-background {
  background-color: #ffffff;
  position: relative;
}

.om-tpl.light-background,
.om-tpl > .light-background {
  background-color: #f8f8f8;
  position: relative;
}

.om-tpl .padding-global {
  width: 100%;
  padding-left: clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 3vw, 36px);
  box-sizing: border-box;
}

.om-tpl .container-large {
  width: 100%;
  max-width: 1370px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.om-tpl .padding-section-large {
  padding-top: clamp(64px, 7vw, 100px);
  padding-bottom: clamp(64px, 7vw, 100px);
}

.om-tpl .top-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 880px;
}

.om-tpl .subtitle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #ac1717;
}

.om-tpl .star-icon {
  width: 15px;
  height: 15px;
  flex: none;
  display: inline-block;
  color: #ac1717;
}

.om-tpl .subtitle {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ac1717;
}

.om-tpl .heading-style-h2 {
  margin: 0;
  color: #000000;
  font-family: var(--_typography---fonts--primary-headings, Switzer, Arial, sans-serif);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.om-tpl .heading-style-h3 {
  margin: 0;
  color: #000000;
  font-family: var(--_typography---fonts--primary-headings, Switzer, Arial, sans-serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.om-tpl .heading-style-h5 {
  margin: 0;
  color: #000000;
  font-family: var(--_typography---fonts--primary-headings, Switzer, Arial, sans-serif);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.om-tpl .text-color-secondary {
  color: #6b5f5f;
}

.om-tpl .text-size-regular {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: #6b5f5f;
}

.om-tpl .text-size-small {
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
  color: #373737;
}

.om-tpl .spacer-medium {
  width: 100%;
  padding-top: 20px;
}

.om-tpl .spacer-large {
  width: 100%;
  padding-top: clamp(28px, 3vw, 44px);
}

.om-tpl .spacer-xlarge {
  width: 100%;
  padding-top: clamp(36px, 4vw, 56px);
}

.om-tpl .spacer-huge {
  width: 100%;
  padding-top: clamp(44px, 5vw, 72px);
}

.om-tpl .doted-line,
.om-tpl .dividing-line {
  width: 100%;
  height: 1px;
  border: 0;
  border-top: 1px dashed #dadada;
  background: none;
}

/* 2. Onmark `about.html` Core Values (.om-tpl.om-about-values) */
.om-tpl .value-component-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.om-tpl .value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  padding: 36px;
  background-color: #f8f8f8;
  border: 1px solid #eeeeee;
  border-radius: 20px;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.35s var(--om-ease), box-shadow 0.35s var(--om-ease), border-color 0.35s var(--om-ease);
}

.om-tpl.light-background .value-card {
  background-color: #ffffff;
  border-color: #dadada;
}

.om-tpl .value-card:hover {
  transform: translateY(-4px);
  border-color: #dadada;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.om-tpl .value-content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.om-tpl .value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  color: #ac1717;
  flex: none;
}

.om-tpl .value-icon svg {
  width: 24px;
  height: 24px;
}

.om-tpl .value-title {
  margin: 0;
  color: #000000;
  font-family: var(--_typography---fonts--primary-headings, Switzer, Arial, sans-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.om-tpl .value-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  pointer-events: none;
}

/* 3. Onmark `about.html` Interactive 4-Step Work Process Tabs (.om-tpl.om-work-process) */
.om-tpl .process-component {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.om-tpl .om-process-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.om-tpl .om-process-tab-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid #dadada;
  background-color: #ffffff;
  color: #000000;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s var(--om-ease), color 0.25s var(--om-ease), border-color 0.25s var(--om-ease);
}

.om-tpl .om-process-tab-btn[aria-selected='false'] {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #dadada;
}

.om-tpl .om-process-tab-btn:hover,
.om-tpl .om-process-tab-btn[aria-selected='false']:hover {
  border-color: #000000;
  background-color: #f8f8f8;
}

.om-tpl .om-process-tab-btn[aria-selected='true'],
.om-tpl .om-process-tab-btn.is-active {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.om-tpl .om-process-tab-btn[aria-selected='true']:hover,
.om-tpl .om-process-tab-btn.is-active:hover {
  background-color: #ac1717;
  border-color: #ac1717;
  color: #ffffff;
}

.om-tpl .om-process-tab-btn[aria-selected='true'] * {
  color: #ffffff;
}

.om-tpl .om-process-tab-btn:focus-visible {
  outline: 2px solid #ac1717;
  outline-offset: 3px;
}

.om-tpl .om-process-panes {
  width: 100%;
}

.om-tpl .om-process-pane {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: center;
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: 20px;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  min-width: 0;
}

.om-tpl .process-image-wrap,
.om-tpl .process-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background-color: #f8f8f8;
  border: 1px solid #eeeeee;
}

.om-tpl .process-image,
.om-tpl .process-image-wrap img,
.om-tpl .process-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.om-check-list {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.om-check-list li {
  position: relative;
  padding-left: 26px;
  color: #222222;
  font-size: 15.5px;
  line-height: 1.55;
}

.om-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #ac1717;
  font-weight: 700;
}

.om-check-list li:has(svg) {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.om-check-list li:has(svg)::before {
  content: none;
}

.om-check-list li > svg,
.om-check-list li > .om-check-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  color: #ac1717;
}

.om-check-list li svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: #ac1717;
}

/* 4. Onmark `services.html` Sticky Alternating Capability Split (.om-tpl.om-service-content) */
.om-tpl .service-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid #eeeeee;
}

.om-tpl .service-content-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.35fr);
  gap: 32px 56px;
  align-items: start;
  width: 100%;
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid #eeeeee;
}

.om-tpl .service-content-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: minmax(220px, 0.78fr) minmax(200px, 0.68fr) minmax(0, 1fr);
}

@media (min-width: 992px) {
  .om-tpl .service-content-grid > :first-child {
    position: sticky;
    top: 112px;
  }
}

.om-tpl .service-number {
  display: block;
  margin-bottom: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ac1717;
}

.om-tpl .service-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: auto;
  overflow: visible;
}

.om-tpl .service-heading {
  margin: 0;
  color: #000000;
  font-family: var(--_typography---fonts--primary-headings, Switzer, Arial, sans-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  white-space: normal;
  mix-blend-mode: normal;
}

.om-tpl .service-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.om-tpl .service-content-item {
  width: 100%;
  max-width: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background-color: #f8f8f8;
  border: 1px solid #eeeeee;
}

.om-tpl.light-background .service-content-item {
  background-color: #ffffff;
  border-color: #dadada;
}

.om-tpl .service-content-grid > .service-content-item:first-child {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.om-tpl .service-image-wrap {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
}

.om-tpl .service-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.om-tpl .service-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #6b5f5f;
}

/* 5. Onmark `blog.html` Header, Filter Bar & Category Badges (.om-tpl.om-blog-band & .om-filter-bar) */
.om-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 32px;
}

.om-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid #dadada;
  background-color: #f8f8f8;
  color: #000000;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--om-ease), color 0.25s var(--om-ease), border-color 0.25s var(--om-ease);
}

.om-filter-chip[aria-pressed='false'] {
  background-color: #f8f8f8;
  color: #000000;
  border: 1px solid #dadada;
}

.om-filter-chip:hover,
.om-filter-chip[aria-pressed='false']:hover {
  border-color: #000000;
  background-color: #ececec;
  color: #000000;
}

.om-filter-chip[aria-pressed='true'],
.om-filter-chip[aria-selected='true'],
.om-filter-chip.is-active {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.om-filter-chip[aria-pressed='true']:hover,
.om-filter-chip[aria-selected='true']:hover,
.om-filter-chip.is-active:hover {
  background-color: #ac1717;
  border-color: #ac1717;
  color: #ffffff;
}

.om-filter-chip:focus-visible {
  outline: 2px solid #ac1717;
  outline-offset: 3px;
}

.om-tpl .blog-post-category,
.om-blog-band .blog-post-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 100px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.om-tpl .all-posts-component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.om-tpl .blog-link-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 22px;
  border-radius: 20px;
  border: 1px solid #eeeeee;
  background-color: #ffffff;
  color: #000000;
  text-transform: none;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--om-ease), border-color 0.3s var(--om-ease), box-shadow 0.3s var(--om-ease);
}

.om-tpl .blog-link-wrapper:hover {
  transform: translateY(-4px);
  border-color: #dadada;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
  opacity: 1;
}

.om-tpl .blog-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f8f8f8;
}

.om-tpl .blog-image-wrapper .blog-post-category {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.om-tpl .blog-post-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.om-tpl .blog-post-content {
  padding: 18px 10px 8px;
}

.om-tpl .post-title {
  margin: 0;
  color: #000000;
  font-family: var(--_typography---fonts--primary-headings, Switzer, Arial, sans-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}

.om-tpl .blog-post-info {
  margin-top: auto;
  padding: 12px 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.om-tpl .blog-post-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #000000;
  color: #ffffff;
  flex: none;
}

/* 6. Robixx `pricing.html` Interactive Model Selector, Boundary Cards, FMEA & TCO Matrices */
.om-robixx-matrix {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.text-max-width-holder p,
.accordion-text,
.om-matrix-lead {
  max-width: 65ch;
}

.om-selector-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 100px;
  background-color: #f8f8f8;
  border: 1px solid #dadada;
  margin-bottom: 28px;
  max-width: 100%;
}

.om-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid transparent;
  background-color: transparent;
  color: #373737;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--om-ease), color 0.25s var(--om-ease), border-color 0.25s var(--om-ease);
}

.om-tab-btn:hover,
.om-tab-btn[aria-pressed='false']:hover {
  color: #000000;
  background-color: #ececec;
}

.om-tab-btn[aria-pressed='true'],
.om-tab-btn[aria-selected='true'],
.om-tab-btn.is-active {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.om-tab-btn[aria-pressed='true']:hover,
.om-tab-btn[aria-selected='true']:hover,
.om-tab-btn.is-active:hover {
  background-color: #ac1717;
  border-color: #ac1717;
  color: #ffffff;
}

.om-tab-btn:focus-visible {
  outline: 2px solid #ac1717;
  outline-offset: 2px;
}

.om-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 24px;
}

.om-selector-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 20px;
  background-color: #ffffff;
  border: 1px solid #dadada;
  color: #000000;
  min-width: 0;
  transition: border-color 0.25s var(--om-ease), transform 0.25s var(--om-ease), box-shadow 0.25s var(--om-ease);
}

.om-selector-card:hover {
  border-color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.om-boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 28px;
}

.om-boundary-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border-radius: 20px;
  background-color: #ffffff;
  border: 1px solid #dadada;
  border-top: 3px solid #000000;
  color: #000000;
  min-width: 0;
}

.om-boundary-card--caution,
.om-boundary-card.is-accent {
  border-top-color: #ac1717;
}

.om-fmea-wrap:not(section),
.pricing-compare-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid #dadada;
  background-color: #ffffff;
  margin-top: 24px;
  box-sizing: border-box;
}

section.om-fmea-wrap {
  max-width: 100%;
  overflow-x: clip;
}

.om-fmea-wrap:focus-visible,
.pricing-compare-scroll:focus-visible {
  outline: 2px solid #ac1717;
  outline-offset: 4px;
}

.om-matrix-table,
.om-fmea-table,
.pricing-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background-color: #ffffff;
  color: #000000;
  font-size: 15px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

:is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #000000;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
}

:is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) thead th {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid #373737;
}

:is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody th,
:is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eeeeee;
  color: #222222;
  font-variant-numeric: tabular-nums;
}

:is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody th {
  font-weight: 600;
  color: #000000;
}

:is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody tr:hover {
  background-color: #f8f8f8;
}

:is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding-block: 4px;
  color: #ac1717;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.om-tco-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 28px;
}

.om-tco-card,
.om-tco-cards > * {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 20px;
  background-color: #f8f8f8;
  border: 1px solid #dadada;
  color: #000000;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

.light-background :is(.om-tco-card, .om-tco-cards > *) {
  background-color: #ffffff;
}

/* 7. Onmark Architectural Inner CTA Band (.om-inner-cta & .om-tpl.om-cta-band) */
:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) {
  background-color: #1a1a1a;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.om-inner-cta:not(.section):not(:has(.om-trail-canvas)) {
  border-radius: 24px;
  padding: clamp(44px, 5vw, 72px) clamp(24px, 4vw, 64px);
  border: 1px solid #373737;
}

:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) :is(h2, h3, .heading-style-h2, .heading-style-h3, .om-display-h2) {
  color: #ffffff;
}

:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) :is(.om-eyebrow, .subtitle, .subtitle-wrap, .star-icon) {
  color: #ffffff;
}

:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) :is(p, .om-section-lead, .text-size-regular, .text-color-secondary) {
  color: #bbbbbb;
}

:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) .om-pill-btn {
  background-color: #ffffff;
  color: #000000;
}

:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) .om-pill-btn :is(.om-pill-text, .om-pill-icon) {
  color: #000000;
}

:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) .om-pill-btn:hover,
:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) .om-pill-btn:focus-visible {
  background-color: #ac1717;
  color: #ffffff;
}

:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) .om-pill-btn:hover :is(.om-pill-text, .om-pill-icon),
:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) .om-pill-btn:focus-visible :is(.om-pill-text, .om-pill-icon) {
  color: #ffffff;
}

:is(.om-inner-cta, .om-tpl.om-cta-band):not(:has(.om-trail-canvas)) .om-pill-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* White/light-grey Onmark call-to-action trail canvas inside .om-inner-cta (clean separation above dark pre-footer video band) */
:is(.om-inner-cta, .om-tpl.om-cta-band):has(.om-trail-canvas) {
  background-color: #f8f8f8;
  color: #000000;
  padding: 18px 10px;
  border: 0;
  border-radius: 0;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas {
  background-color: #ffffff;
  border: 1px solid #dadada;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas :is(.om-eyebrow, .subtitle, .subtitle-wrap, .star-icon) {
  color: #ac1717;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas :is(h2, h3, .om-trail-title, .heading-style-h2, .heading-style-h3, .om-display-h2) {
  color: #000000;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas :is(p, .om-trail-sub, .om-section-lead, .text-size-regular, .text-color-secondary) {
  color: #6b5f5f;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas .om-pill-btn {
  background-color: #000000;
  color: #ffffff;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas .om-pill-btn :is(.om-pill-text, .om-pill-icon) {
  color: #ffffff;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas .om-pill-btn:hover,
:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas .om-pill-btn:focus-visible {
  background-color: #ac1717;
  color: #ffffff;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas .om-pill-btn:hover :is(.om-pill-text, .om-pill-icon),
:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas .om-pill-btn:focus-visible :is(.om-pill-text, .om-pill-icon) {
  color: #ffffff;
}

:is(.om-inner-cta, .om-tpl.om-cta-band) .om-trail-canvas .om-pill-btn:focus-visible {
  outline: 2px solid #ac1717;
  outline-offset: 4px;
}

/* ---------- Chinese Typography Adjustments ---------- */

html[lang^='zh'] :is(
  .om-display-h2,
  .om-intro-text,
  .om-trail-title,
  .om-service-title,
  .om-plan-name,
  .om-plan-scope,
  .om-case-name,
  .om-tpl .heading-style-h2,
  .om-tpl .heading-style-h3,
  .om-tpl .heading-style-h5,
  .om-tpl .value-title,
  .om-tpl .service-heading,
  .om-tpl .post-title
) {
  font-family: var(--sansong-zh-font, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif);
  letter-spacing: 0;
}

html[lang^='zh'] .om-trail-title {
  line-height: 1.18;
}

html[lang^='zh'] :is(
  .om-eyebrow,
  .om-plan-tag,
  .om-case-badge,
  .om-btt-label,
  .om-tpl .subtitle,
  .om-tpl .om-process-tab-btn,
  .om-filter-chip,
  .om-tab-btn,
  .om-tpl .blog-post-category,
  .om-blog-band .blog-post-category,
  .om-matrix-table thead th,
  .om-fmea-table thead th,
  .pricing-compare-table thead th
) {
  font-family: var(--sansong-zh-font, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif);
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ---------- Coarse Pointer / Mobile Trail Guard ---------- */

@media (hover: none) and (pointer: coarse), (max-width: 991px) {
  .om-trail-layer,
  .om-tpl .gsap-component {
    display: none !important;
  }

  .om-trail-section.om-trail-active .om-trail-pool {
    display: grid;
  }
}

/* ---------- Responsive Breakpoints ---------- */

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

  .om-3d-reel {
    grid-column: 1 / -1;
    min-height: 400px;
  }
}

@media (max-width: 991px) {
  .om-scroll-stamp {
    display: none;
  }

  .om-section-head-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .om-section-lead {
    justify-self: start;
  }

  .om-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .om-intro-col-metrics {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--om-sand-line);
  }

  .om-services-grid,
  .om-tpl .value-component-grid,
  .om-tpl .om-process-tabs,
  .om-tpl .all-posts-component-grid,
  .om-selector-grid,
  .om-tco-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .om-tpl .om-process-pane,
  .om-tpl .service-content-grid,
  .om-tpl .service-content-grid:has(> :nth-child(3):last-child),
  .om-boundary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .om-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .om-kpi-block {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--om-sand-line);
  }

  .om-kpi-block:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .om-testi-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .om-testi-visual {
    max-height: 400px;
    aspect-ratio: 16 / 10;
  }

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

@media (max-width: 767px) {
  .om-cases-row,
  .om-services-grid,
  .om-engage-grid,
  .om-tpl .value-component-grid,
  .om-tpl .om-process-tabs,
  .om-tpl .all-posts-component-grid,
  .om-selector-grid,
  .om-tco-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .om-tpl .value-card,
  .om-selector-card,
  .om-boundary-card,
  .om-tco-card,
  .om-tco-cards > * {
    padding: 24px 20px;
  }

  .om-selector-tabs {
    border-radius: 18px;
    width: 100%;
  }

  .om-tab-btn {
    flex: 1 1 auto;
    padding: 10px 14px;
  }

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

  .om-trail-item:last-child {
    grid-column: 1 / -1;
  }

  .om-btt-wrap {
    margin-top: 12px;
  }

  .om-trail-content {
    padding: 20px 18px;
  }

  .om-fmea-wrap:not(section),
  .pricing-compare-scroll {
    overflow: visible;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table),
  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody,
  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tr:not([hidden]),
  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) th,
  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) td {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tr[hidden] {
    display: none !important;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody tr {
    padding: 10px 16px;
    border-top: 2px solid #1a1a1a;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody tr:first-child {
    border-top: 0;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody th {
    padding: 10px 0 8px;
    border-bottom: 0;
    font-size: 16px;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody td {
    display: grid;
    grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eeeeee;
    overflow-wrap: anywhere;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody td:last-child {
    border-bottom: 0;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody td::before {
    content: attr(data-label);
    font-family: 'Geist Mono', ui-monospace, monospace;
    font-size: 11.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b5f5f;
    font-weight: 500;
  }
}

@media (max-width: 390px) {
  .om-fact-pills {
    grid-template-columns: minmax(0, 1fr);
  }

  .om-tpl .om-process-pane {
    padding: 20px 16px;
  }

  .om-filter-chip,
  .om-tab-btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  :is(.om-matrix-table, .om-fmea-table, .pricing-compare-table) tbody td {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .om-scroll-ring {
    animation: none;
  }

  .om-pill-btn,
  .om-pill-text,
  .om-pill-icon,
  .om-case-card,
  .om-case-arrow,
  .om-case-arrow-icon,
  .om-case-img,
  .om-case-badge-text,
  .om-service-card,
  .om-back-to-top,
  .om-tpl .value-card,
  .om-tpl .om-process-tab-btn,
  .om-tpl .blog-link-wrapper,
  .om-filter-chip,
  .om-tab-btn,
  .om-selector-card {
    transition: none !important;
  }

  .om-trail-section.om-trail-active .om-trail-pool {
    display: grid;
  }
}
