/* ========== SERVICES PAGE ========== */
/* Glow stays on the page, so the cream that meets the footer is one solid color. */
.page-services {
  background-color: #e8d5c2;
  background-image: radial-gradient(ellipse 90% 46% at 50% 22%, #fbf7f2 0%, #f4e6d6 42%, #ead9c4 78%, #e8d5c2 100%);
  background-repeat: no-repeat;
}
.page-services .site-footer { --footer-curve: clamp(72px, 12vw, 120px); }
.page-services .footer-curve { top: -2px; }
.page-services .site-footer .footer-curve path { fill: #e8d5c2; }

/* Solid bar, the page background is light so the transparent header would be unreadable */
.page-services .site-header,
.page-services .site-header.is-scrolled {
  background: rgba(9, 9, 9, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(198, 172, 141, 0.18);
}

.services-page {
  --svc-amber: #AF6A19;
  --svc-sand: #EDC18B;
  --svc-ink: #090909;
  --svc-brown: #896741;
  --svc-tan: #C6AC8D;
  --svc-gold: #CA8627;
  --svc-cream: #efe1d5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  color: #3b2a1c;
}
.services-section {
  position: relative;
  padding: calc(102px + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(4.5rem, 8vw, 7.5rem);
}
.services-page a { text-decoration: none; color: inherit; }

.services-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ---- Heading ---- */
.services-head {
  text-align: center;
  margin-bottom: clamp(1.6rem, 3.2vw, 2.6rem);
}
.services-kicker {
  margin: 0 0 .75rem;
  font-family: var(--font);
  font-size: clamp(.8rem, .9vw, 1rem);
  font-weight: 600;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: #59351b;
}
.services-title-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
}
.services-title-row::before,
.services-title-row::after {
  content: "";
  flex: 1 1 0;
  height: 2px;
  min-width: 2rem;
}
.services-title-row::before {
  background: linear-gradient(90deg, transparent, var(--svc-sand) 40%, var(--svc-gold));
}
.services-title-row::after {
  background: linear-gradient(90deg, var(--svc-gold), var(--svc-sand) 60%, transparent);
}
.services-title {
  position: relative;
  flex: 0 1 auto;
  margin: 0;
  font-family: var(--font-th);
  font-size: clamp(1.7rem, 2.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: #1a120c;
  text-wrap: balance;
}
.services-title::before,
.services-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff0c8;
  box-shadow: 0 0 0 2px rgba(202, 134, 39, .35), 0 0 10px rgba(237, 193, 139, .9);
  transform: translateY(-50%);
}
.services-title::before { left: calc(-1 * clamp(1rem, 3vw, 2.5rem) - 5px); }
.services-title::after { right: calc(-1 * clamp(1rem, 3vw, 2.5rem) - 5px); }
.services-lead {
  margin: .5rem auto 0;
  max-width: 48em;
  font-family: var(--font-th);
  font-size: clamp(1rem, 1.24vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  color: #4e3b2c;
}

/* ---- Service models ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-item {
  min-width: 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.service-item.is-visible { opacity: 1; transform: translateY(0); }

.service-card {
  position: relative;
  min-height: 470px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #af6a19;
  box-shadow: 0 14px 30px rgba(137, 103, 65, .22);
  outline-offset: 4px;
  transition: box-shadow .3s ease;
}
.service-card:hover,
.service-card:focus-within,
.service-card:focus { box-shadow: 0 22px 40px rgba(0, 0, 0, .25); }
.service-card:focus-visible { outline: 3px solid #ffca08; }

.service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card-bg,
.service-card:focus-within .service-card-bg { transform: scale(1.05); }

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(170deg, rgba(202, 134, 39, .87), rgba(137, 103, 65, .91));
  transition: background .25s ease;
}
.service-card:hover::before,
.service-card:focus-within::before,
.service-card:focus::before { background: rgba(20, 20, 20, .87); }

.service-card-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  width: max-content;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: var(--font-th);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  transition: opacity .25s ease;
}
.service-card-label svg {
  width: 2.75rem;
  height: 2.75rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .28));
}
.service-card-label img.icon-bowl,
.service-card-label img.icon-service,
.service-card-label img.icon-chemistry {
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .28));
}
.service-card-label img.icon-bowl { width: 6.2rem; }
.service-card-label img.icon-service {
  width: 6.2rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, .28));
}
.service-card-label img.icon-chemistry {
  width: 6.2rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, .28));
}
.service-card:hover .service-card-label,
.service-card:focus-within .service-card-label,
.service-card:focus .service-card-label { opacity: 0; }

.service-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: clamp(1rem, 2vw, 1.7rem);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.service-card:hover .service-overlay,
.service-card:focus-within .service-overlay,
.service-card:focus .service-overlay { opacity: 1; visibility: visible; }

.service-description {
  margin: 0;
  font-family: var(--font-th);
  font-size: clamp(.98rem, 1.18vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: #ffca08;
}
.service-more {
  display: inline-block;
  padding: .55rem 1.2rem;
  border-radius: 10px;
  background: #ffca08;
  color: #090909 !important;
  font-family: var(--font-th);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.service-more:hover,
.service-more:focus-visible { background: #ffe16d; }
.service-more:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---- OEM process (curved timeline) ---- */
.oem-section {
  --rail: 58%;
  --amber: #af6a19;
  --sand: #edc18b;
  --gold: #ca8627;
  --brown: #896741;
  --tan: #c6ac8d;
  --cream: #efe1d5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.2rem, 6vw, 5.2rem) 0 clamp(6rem, 11vw, 9rem);
  background: transparent;
}
.oem-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(220px, 28vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 193, 139, .55), rgba(237, 193, 139, 0) 68%);
  filter: blur(2px);
  animation: oem-orb 14s ease-in-out infinite;
  pointer-events: none;
}
.oem-section > .services-inner { position: relative; z-index: 1; }
#oem-process::before { top: 8%; left: -6%; }
#odm-process {
  background: transparent;
}
#odm-process::before { top: auto; bottom: 6%; left: auto; right: -8%; animation-delay: -7s; }
.oem-section:has(+ .oem-section) { padding-bottom: clamp(2.6rem, 5vw, 4rem); }
.oem-section + .oem-section { padding-top: clamp(2.6rem, 5vw, 4rem); }
@keyframes oem-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -22px, 0) scale(1.08); }
}
@keyframes oem-spin { to { transform: rotate(1turn); } }
@keyframes oem-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes oem-sheen {
  from { background-position: -120% 0; }
  to { background-position: 220% 0; }
}
.oem-head { margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.oem-head .services-kicker {
  letter-spacing: .2em;
  font-size: .74rem;
  margin-bottom: .45rem;
}
.oem-head .sec-kicker span { width: 1.25rem; }

.oem-flow { position: relative; }

.oem-disc {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 50% 50%, #fffaf3 0%, #f6ecdf 55%, #e3d2bd 82%, #c9b195 100%);
  box-shadow:
    inset -26px -30px 60px rgba(137, 103, 65, .28),
    inset 18px 22px 40px rgba(255, 255, 255, .9),
    0 0 0 1px rgba(198, 172, 141, .45),
    0 0 0 14px rgba(237, 193, 139, .28),
    0 0 0 28px rgba(202, 134, 39, .08),
    0 28px 50px rgba(137, 103, 65, .28);
  animation: oem-float 7s ease-in-out infinite;
  pointer-events: none;
}
.oem-disc::before {
  content: "";
  position: absolute;
  inset: 5.5%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(202, 134, 39, .75) 74%, rgba(175, 106, 25, .15) 84%, transparent 92%);
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 64.4%, #000 67.2%, transparent 68.4%);
  mask: radial-gradient(circle, transparent 63%, #000 64.4%, #000 67.2%, transparent 68.4%);
  animation: oem-spin 22s linear infinite;
}
.oem-disc::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 70% 78%, rgba(202, 134, 39, .12), transparent 46%);
  box-shadow: inset 0 0 0 1px rgba(198, 172, 141, .35);
}
.oem-orbit {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.oem-orbit path { stroke: #896741; stroke-linecap: round; }
.oem-tip {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f0b429;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #f0b429;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.oem-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--rail);
}

.oem-step {
  --c1: #ffe7a8;
  --c2: #f0b429;
  --ink: #fff;
  --nx: .8;
  position: relative;
  flex-shrink: 0;
  min-width: 0;
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .7s cubic-bezier(.22, .8, .28, 1), transform .7s cubic-bezier(.22, .8, .28, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.oem-step.is-visible { opacity: 1; transform: none; }
.oem-step.is-visible .oem-step-num {
  animation: oem-pop .55s cubic-bezier(.2, .8, .2, 1.35) both;
  animation-delay: calc(var(--i, 0) * 110ms + .15s);
}
@keyframes oem-pop {
  from { transform: translate(-46%, -50%) scale(.55); }
  to { transform: translate(-46%, -50%) scale(1); }
}

.oem-node {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(var(--rail) * (var(--nx) - 1));
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c2);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--c2);
  transform: translate(-50%, -50%);
}
.oem-link {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: calc(var(--rail) * (var(--nx) - 1) + 10px);
  right: calc(100% + 2.55rem);
  height: 2px;
  background: #896741;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform .55s ease;
  transition-delay: calc(var(--i, 0) * 110ms + .2s);
}
.oem-step.is-visible .oem-link { transform: translateY(-50%) scaleX(1); }
.oem-link::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #896741;
  transform: translateY(-50%);
}

.oem-pill {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: .5rem 1.35rem .5rem 3.7rem;
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(100deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--c2) 30%, transparent);
  transition: transform .35s cubic-bezier(.22, .8, .28, 1), box-shadow .35s ease;
}
.oem-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  clip-path: inset(0 round 999px);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%) no-repeat;
  background-size: 60% 100%;
  background-position: -120% 0;
  pointer-events: none;
}
.oem-step:hover .oem-pill,
.oem-step:focus-within .oem-pill {
  transform: translateX(8px);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--c2) 42%, transparent);
}
.oem-step:hover .oem-pill::after,
.oem-step:focus-within .oem-pill::after { animation: oem-sheen .7s ease; }

.oem-step-num {
  position: absolute;
  left: 0;
  top: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  width: 6.8rem;
  height: 6.8rem;
  border-radius: 50%;
  overflow: hidden;
  background: #efe1d5;
  color: var(--ink);
  box-shadow: 0 8px 16px rgba(50, 30, 12, .16);
  transform: translate(-46%, -50%);
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}
.oem-step-num img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.oem-pill-body { min-width: 0; }
.oem-step-title {
  margin: 0;
  font-family: var(--font-th);
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.15;
  color: inherit;
  text-wrap: balance;
}
.oem-step-text {
  margin: .15rem 0 0;
  font-family: var(--font-th);
  font-size: clamp(.98rem, 1.12vw, 1.12rem);
  font-weight: 500;
  line-height: 1.35;
  color: inherit;
}

@media (min-width: 1101px) {
  .oem-section,
  .oem-section:has(+ .oem-section),
  .oem-section + .oem-section {
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding: calc(102px + .6rem) 0 1.1rem;
  }
  .oem-section:last-of-type { padding-bottom: 2.6rem; }
  .oem-section > .services-inner {
    width: min(1920px, calc(100% - 1.5rem));
    min-height: 0;
    display: flex;
  }
  .oem-flow {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
  }
  .oem-steps {
    flex: 1;
    min-height: 0;
    justify-content: center;
    gap: .7rem;
  }
  .oem-step {
    flex: 0 0 auto;
    min-height: 0;
    display: flex;
    align-items: center;
  }
  .oem-pill {
    width: 100%;
    min-height: 0;
    padding: .48rem 1.4rem .48rem 3.7rem;
  }
  .oem-step-num {
    width: 4.85rem;
    height: 4.85rem;
  }
  .oem-step-title { font-size: clamp(1.22rem, 1.55vw, 1.62rem); line-height: 1.15; }
  .oem-step-text { font-size: clamp(1rem, 1.12vw, 1.14rem); line-height: 1.35; font-weight: 500; }
  .oem-head {
    position: absolute;
    z-index: 3;
    margin: 0;
    width: 15rem;
    text-align: center;
  }
  .oem-head .services-title-row { display: block; }
  .oem-head .services-title-row::before,
  .oem-head .services-title-row::after,
  .oem-head .services-title::before,
  .oem-head .services-title::after { display: none; }
  .oem-head .services-kicker {
    font-size: .86rem;
    letter-spacing: .26em;
    color: #8a5a24;
    margin-bottom: .7rem;
  }
  .oem-head .sec-kicker span { width: 1.8rem; }
  .oem-head .services-title {
    font-size: clamp(2.05rem, 2.5vw, 3.05rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    padding-bottom: .85rem;
    background:
      linear-gradient(90deg, transparent, #c4842a 20%, #f0c27a 50%, #c4842a 80%, transparent) center bottom / 4.5rem 3px no-repeat;
    color: #2a1a0e;
    text-shadow: 0 2px 0 rgba(255, 255, 255, .7), 0 6px 18px rgba(137, 103, 65, .22);
  }
  .oem-head .services-title .oem-title-accent {
    display: block;
    background: linear-gradient(120deg, #af6a19, #ca8627 55%, #896741);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
  .oem-head .services-lead {
    max-width: none;
    margin-top: .8rem;
    font-size: clamp(.95rem, 1.05vw, 1.08rem);
    font-weight: 400;
    line-height: 1.6;
    color: #5c4634;
  }
}

@media (max-width: 1100px) {
  .oem-section { --rail: 0px; }
  .oem-disc,
  .oem-orbit,
  .oem-tip,
  .oem-node,
  .oem-link { display: none; }
  .oem-steps { padding-left: 1.5rem; }
  .oem-head {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    transform: none;
  }
  .oem-head .services-kicker,
  .oem-head .services-title { color: #fffaf4; }
  .oem-head .services-lead { color: #f3e6d4; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oem-step-num { width: 5.4rem; height: 5.4rem; }
  .oem-pill { min-height: 0; padding-left: 3.5rem; }
  .oem-link { right: calc(100% + 2.7rem); }
}

@media (max-width: 600px) {
  .services-section { padding-top: calc(86px + 2rem); }
  .services-kicker { letter-spacing: .22em; }
  .services-title-row::before,
  .services-title-row::after,
  .services-title::before,
  .services-title::after { display: none; }
  .services-title { font-size: clamp(1.45rem, 6.5vw, 2rem); }
  .services-lead { font-size: .98rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-card { min-height: 530px; }
  .service-description { font-size: 1rem; }
  .oem-steps { gap: .85rem; padding-left: 1.2rem; }
  .oem-pill { border-radius: 1.5rem; min-height: 0; padding: .7rem 1rem .7rem 3.2rem; }
  .oem-step-num { width: 4.6rem; height: 4.6rem; }
}

@media (hover: none) {
  .service-card::before { background: rgba(20, 20, 20, .87); }
  .service-card-label { opacity: 0; }
  .service-overlay { opacity: 1; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  .service-item,
  .oem-step { opacity: 1; transform: none; transition: none; }
  .oem-pill,
  .oem-link,
  .oem-disc,
  .oem-disc::before,
  .oem-section::before { animation: none; transition: none; }
  .oem-link { transform: translateY(-50%); }
  .oem-step.is-visible .oem-step-num { animation: none; }
  .service-card,
  .service-card-bg,
  .service-card::before,
  .service-card-label,
  .service-overlay { transition: none; }
}

/* OEM process: numbered photo cards */
:is(#oem-process, #odm-process) {
  background: transparent;
}
:is(#oem-process, #odm-process) .oem-disc {
  background: radial-gradient(circle at 42% 35%, #fffdf9 0%, #fff6ed 57%, #f2dcc6 100%);
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, .85),
    inset -18px -24px 48px rgba(165, 96, 27, .17),
    0 0 0 4px #b86a0d,
    0 0 0 15px rgba(255, 255, 255, .7),
    0 0 0 19px rgba(215, 144, 53, .38),
    0 25px 48px rgba(119, 67, 25, .2);
}
:is(#oem-process, #odm-process) .oem-disc::before {
  background: conic-gradient(from -65deg, #f7c36b, #a65b07 32%, #f4bd64 65%, #ab610b 88%, #f7c36b);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 68%, transparent 69%);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 68%, transparent 69%);
}
:is(#oem-process, #odm-process) .oem-orbit path { stroke: #b56d17; }
:is(#oem-process, #odm-process) .oem-node {
  background: #fff8f0;
  border-color: #b56d17;
  box-shadow: 0 0 0 3px #fff8f0, 0 2px 7px rgba(104, 54, 13, .28);
}
:is(#oem-process, #odm-process) .oem-link,
:is(#oem-process, #odm-process) .oem-link::after { background: #a96b2b; }
:is(#oem-process, #odm-process) .oem-pill {
  min-height: 6.1rem;
  padding: .5rem 1.4rem .5rem 15.8rem;
  border: 2px solid rgba(255, 255, 255, .94);
  border-radius: 999px;
  color: #2d1b12;
  background: linear-gradient(165deg, #fffdfa 0%, #fff7f0 55%, #f6e5d5 100%);
  box-shadow: 0 9px 17px rgba(114, 65, 31, .2), inset 0 0 0 1px rgba(165, 101, 39, .08);
}
:is(#oem-process, #odm-process) .oem-step:hover .oem-pill,
:is(#oem-process, #odm-process) .oem-step:focus-within .oem-pill {
  box-shadow: 0 13px 24px rgba(114, 65, 31, .27);
}
:is(#oem-process, #odm-process) .oem-step-num {
  left: .4rem;
  width: 5.3rem;
  height: 4.4rem;
  border-radius: 1.5rem;
  overflow: visible;
  color: #fff;
  background: linear-gradient(135deg, #e2a03c 0%, #b3630a 72%, #8a4405 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .5), 0 7px 13px rgba(107, 59, 18, .27);
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 3px rgba(74, 37, 6, .35);
}
:is(#oem-process, #odm-process) .oem-step-photo {
  position: absolute;
  z-index: 1;
  top: .25rem;
  bottom: .25rem;
  left: 3rem;
  width: 12.8rem;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 1.35rem;
  clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%);
  box-shadow: 0 5px 12px rgba(77, 45, 20, .2);
}
:is(#oem-process, #odm-process) .oem-step-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(#oem-process, #odm-process) .oem-pill-body {
  min-width: 0;
  border-left: 4px solid #c67c18;
  padding-left: 1.25rem;
}
:is(#oem-process, #odm-process) .oem-step-title {
  color: #35190d;
  font-size: clamp(1.3rem, 1.55vw, 1.85rem);
  line-height: 1.16;
  text-shadow: none;
}
:is(#oem-process, #odm-process) .oem-step-text {
  color: #261c16;
  font-size: clamp(.97rem, 1.07vw, 1.14rem);
  line-height: 1.35;
  text-shadow: none;
}
@media (min-width: 1101px) {
  :is(#oem-process, #odm-process) .oem-head .services-kicker { color: #703806; font-size: 1rem; }
  :is(#oem-process, #odm-process) .oem-head .services-title { font-size: clamp(2.45rem, 3vw, 3.65rem); }
  :is(#oem-process, #odm-process) .oem-head .services-lead { color: #34231a; font-size: clamp(1.05rem, 1.18vw, 1.24rem); }
  :is(#oem-process, #odm-process) .oem-steps { gap: clamp(.45rem, .9vh, .85rem); }
}
@media (min-width: 1101px) and (max-width: 1450px) {
  :is(#oem-process, #odm-process) .oem-pill { padding-left: 12.8rem; }
  :is(#oem-process, #odm-process) .oem-step-photo { width: 9.8rem; }
  :is(#oem-process, #odm-process) .oem-step-title { font-size: 1.3rem; }
  :is(#oem-process, #odm-process) .oem-step-text { font-size: .94rem; }
}
@media (max-width: 1100px) {
  :is(#oem-process, #odm-process) .oem-head .services-kicker,
  :is(#oem-process, #odm-process) .oem-head .services-title { color: #35190d; }
  :is(#oem-process, #odm-process) .oem-head .services-lead { color: #563a29; }
  :is(#oem-process, #odm-process) .oem-steps { padding-left: 3.4rem; }
  :is(#oem-process, #odm-process) .oem-pill { padding-left: 13.5rem; }
  :is(#oem-process, #odm-process) .oem-step-photo { width: 10.5rem; }
}
@media (max-width: 700px) {
  :is(#oem-process, #odm-process) .oem-steps { padding-left: 2rem; }
  :is(#oem-process, #odm-process) .oem-pill { min-height: 6.4rem; padding-left: 9.3rem; padding-right: .8rem; }
  :is(#oem-process, #odm-process) .oem-step-num { width: 3.5rem; height: 3.3rem; border-radius: 1rem; font-size: 1.5rem; }
  :is(#oem-process, #odm-process) .oem-step-photo { left: 2.3rem; width: 7rem; }
  :is(#oem-process, #odm-process) .oem-pill-body { padding-left: .65rem; border-left-width: 3px; }
  :is(#oem-process, #odm-process) .oem-step-title { font-size: 1.16rem; }
  :is(#oem-process, #odm-process) .oem-step-text { font-size: .93rem; }
}
@media (max-width: 470px) {
  :is(#oem-process, #odm-process) .oem-steps { padding-left: 0; }
  :is(#oem-process, #odm-process) .oem-pill { display: block; padding: .6rem .85rem .9rem; border-radius: 1.4rem; }
  :is(#oem-process, #odm-process) .oem-step-photo { position: relative; display: block; top: auto; bottom: auto; left: auto; width: 100%; height: 7rem; border-radius: 1rem; clip-path: none; }
  :is(#oem-process, #odm-process) .oem-step-num { top: 1rem; left: 1rem; transform: none; }
  :is(#oem-process, #odm-process) .oem-step.is-visible .oem-step-num { animation: none; }
  :is(#oem-process, #odm-process) .oem-pill-body { margin-top: .7rem; }
}

@media (min-width: 1200px) and (max-width: 1500px), (min-width: 1501px) and (max-height: 800px) {
  :is(#oem-process, #odm-process) {
    height: auto;
    max-height: none;
    min-height: 100dvh;
    overflow: visible;
    padding-bottom: .6rem;
  }
  :is(#oem-process, #odm-process) .oem-flow { min-height: calc(100dvh - 130px); }
  :is(#oem-process, #odm-process) .oem-steps { flex: 1 0 auto; min-height: max-content; gap: .3rem; }
  :is(#oem-process, #odm-process) .oem-pill { min-height: 4.05rem; padding: .25rem .8rem .25rem 9.9rem; }
  :is(#oem-process, #odm-process) .oem-step-photo { left: 2.5rem; top: .15rem; bottom: .15rem; width: 7.4rem; border-width: 2px; }
  :is(#oem-process, #odm-process) .oem-step-num { left: .2rem; width: 3.7rem; height: 3.25rem; border-radius: 1rem; font-size: 1.55rem; }
  :is(#oem-process, #odm-process) .oem-pill-body { padding-left: .65rem; border-left-width: 3px; }
  :is(#oem-process, #odm-process) .oem-step-title { font-size: clamp(1rem, 1.15vw, 1.2rem); line-height: 1.08; }
  :is(#oem-process, #odm-process) .oem-step-text { margin-top: .08rem; font-size: clamp(.78rem, .85vw, .92rem); line-height: 1.2; }
  :is(#oem-process, #odm-process) .oem-head .services-title { font-size: clamp(1.85rem, 2.6vw, 2.5rem); }
  :is(#oem-process, #odm-process) .oem-head .services-lead { font-size: clamp(.84rem, .9vw, 1rem); line-height: 1.4; }
}
@media (min-width: 1101px) and (max-width: 1199px) {
  :is(#oem-process, #odm-process) {
    display: block;
    height: auto;
    max-height: none;
    min-height: 100dvh;
    padding: calc(102px + 2rem) 0 4rem;
  }
  :is(#oem-process, #odm-process) > .services-inner { display: block; width: min(1100px, calc(100% - 3rem)); }
  :is(#oem-process, #odm-process) .oem-flow { display: block; }
  :is(#oem-process, #odm-process) .oem-head {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 42rem);
    margin: 0 auto 2rem;
    transform: none;
  }
  :is(#oem-process, #odm-process) .oem-disc,
  :is(#oem-process, #odm-process) .oem-orbit,
  :is(#oem-process, #odm-process) .oem-tip,
  :is(#oem-process, #odm-process) .oem-node,
  :is(#oem-process, #odm-process) .oem-link { display: none; }
  :is(#oem-process, #odm-process) .oem-steps { padding-left: 3.4rem; gap: .85rem; }
  :is(#oem-process, #odm-process) .oem-pill { padding-left: 13.5rem; }
  :is(#oem-process, #odm-process) .oem-step-photo { width: 10.5rem; }
}

/* Seven ODM steps share the OEM design and fit the same canvas. */
@media (min-width: 1101px) {
  #odm-process .oem-pill { min-height: 5.2rem; }
  #odm-process .oem-head .services-title { font-size: clamp(2.2rem, 2.65vw, 3.15rem); }
  #odm-process .oem-steps { gap: .4rem; }
}
@media (min-width: 1200px) and (max-width: 1500px), (min-width: 1501px) and (max-height: 800px) {
  #odm-process .oem-pill { min-height: 3.6rem; }
  #odm-process .oem-steps { gap: .22rem; }
  #odm-process .oem-step-title { font-size: clamp(.95rem, 1.05vw, 1.14rem); }
  #odm-process .oem-step-text { font-size: clamp(.76rem, .82vw, .9rem); }
}
