/* ============================================================================
   theme.css — UD Manufacturing (Lingo Spark fork)
   ----------------------------------------------------------------------------
   Forked from Lingo Spark base + UDM's design system. All visual styling lives
   in this single file.

   Token flow:
     site-config.php → theme.primary   →  --brand-primary  →  --c-primary
                       theme.neutral   →  --brand-neutral  →  --c-ink-strong
                       theme.bg        →  --brand-bg       →  --c-bg

   To restyle: edit the .udm-page token block below, OR change site-config.php
   for the brand seeds. The rest of the design derives from those tokens.
   ============================================================================ */

/* ----- Reset (outside .udm-page so it applies to header/footer too) ----- */
/* Light-only design: pin the color scheme so UA controls (form fields, select
   popups, scrollbars, autofill) render light, and so forced/auto dark modes
   (Android Chrome auto-dark, Samsung Internet, WebView) don't invert the site. */
html { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Fira Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #2E2E2E;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video, canvas { display: block; max-width: 100%; height: auto; }

/* ----- Skip link (a11y, sitewide) ----- */
.skip-link {
  position: absolute; left: -9999px;
  background: #E75327; color: #fff;
  padding: 12px 16px; border-radius: 6px;
  font-weight: 600; z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ============================================================================
   SITE HEADER — dark top stripe + centered text nav (no logo)
   ============================================================================ */
.udm-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.udm-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 40px);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.udm-header__logo {
  position: absolute;
  left: clamp(20px, 4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
}
.udm-header__logo img {
  height: 44px;
  width: auto;
  display: block;
}
.udm-header .udm-header__cta {
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  background: var(--brand-primary, #E75327);
  border-color: var(--brand-primary, #E75327);
  color: var(--brand-on-primary, #fff);
  border-radius: 6px;
}
.udm-header .udm-header__cta:hover {
  background: #C13E15;
  border-color: #C13E15;
  color: #fff;
}
@media (max-width: 992px) {
  .udm-header .udm-header__cta { display: none; }
}
.udm-nav-mobile .udm-btn {
  display: inline-flex;
  margin-top: 24px;
  padding: 14px 28px;
  background: var(--brand-primary, #E75327);
  border-color: var(--brand-primary, #E75327);
  color: var(--brand-on-primary, #fff);
  border-radius: 6px;
}
.udm-nav-mobile .udm-btn:hover {
  background: #C13E15;
  border-color: #C13E15;
  color: #fff;
}
.udm-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
  padding: 0; margin: 0;
}
.udm-nav a {
  font-family: 'Antonio','Oswald','Bebas Neue','Impact','Arial Black',sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  transition: color .2s;
}
.udm-nav a:hover,
.udm-nav a:focus-visible {
  color: #E75327;
  outline: none;
}
.udm-nav a[aria-current="page"] {
  color: #E75327;
}
.udm-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px;
  bottom: -2px;
  height: 2px;
  background: #E75327;
}

/* Mobile hamburger — only shown < 760px */
.udm-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: #1A1A1A;
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
}
.udm-nav-toggle svg { width: 22px; height: 22px; }

.udm-nav-mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 90vw);
  height: 100vh;
  margin: 0;
  border: none;
  padding: 64px 24px 24px;
  background: #fff;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.18);
  color: #1A1A1A;
}
.udm-nav-mobile::backdrop { background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); }

/* Smooth slide-in + fade for the mobile drawer. Guarded by @supports so the
   no-popover JS fallback in footer.php (old browsers) is left untouched. */
@supports (selector(:popover-open)) {
  .udm-nav-mobile {
    transform: translateX(100%);
    opacity: 0;
    transition:
      transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.24s ease,
      overlay 0.32s allow-discrete,
      display 0.32s allow-discrete;
  }
  .udm-nav-mobile:popover-open {
    transform: translateX(0);
    opacity: 1;
  }
  @starting-style {
    .udm-nav-mobile:popover-open {
      transform: translateX(100%);
      opacity: 0;
    }
  }

  .udm-nav-mobile::backdrop {
    opacity: 0;
    transition:
      opacity 0.32s ease,
      overlay 0.32s allow-discrete,
      display 0.32s allow-discrete;
  }
  .udm-nav-mobile:popover-open::backdrop {
    opacity: 1;
  }
  @starting-style {
    .udm-nav-mobile:popover-open::backdrop {
      opacity: 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .udm-nav-mobile,
  .udm-nav-mobile::backdrop {
    transition: none;
  }
}
.udm-nav-mobile__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  color: #1A1A1A;
}
.udm-nav-mobile ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.udm-nav-mobile a {
  font-family: 'Antonio', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  text-decoration: none;
  display: block;
  padding: 12px 16px;
  border-radius: 6px;
}
.udm-nav-mobile a:hover { background: #F5F5F5; color: #E75327; }
.udm-nav-mobile a[aria-current="page"] { color: #E75327; background: #FDEEE8; }

@media (max-width: 992px) {
  .udm-nav { display: none; }
  .udm-nav-toggle { display: inline-flex; }
}

main { display: block; }

/* ============================================================================
   UDM DESIGN TOKENS — wired to Lingo Spark's --brand-* injection
   ============================================================================ */
.udm-page {
  --c-primary:      var(--brand-primary, #E75327);
  --c-primary-hi:   #C13E15;
  --c-primary-soft: #FDEEE8;
  --c-ink:          #2E2E2E;
  --c-ink-strong:   var(--brand-neutral, #1A1A1A);
  --c-mute:         #7A7A7A;
  --c-bg:           var(--brand-bg, #FFFFFF);
  --c-bg-mute:      #F5F5F5;
  --c-bg-dark:      #1A1A1A;
  --c-line:         #E5E5E5;
  --radius:         6px;
  --radius-lg:      12px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.18);

  font-family: 'Fira Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
}
.udm-page *, .udm-page *::before, .udm-page *::after { box-sizing: border-box; }
.udm-page img { max-width: 100%; display: block; height: auto; }

.udm-page a:not(.udm-btn) { color: var(--c-primary); text-decoration: none; transition: color .25s; }
.udm-page a:not(.udm-btn):hover { color: var(--c-primary-hi); }

.udm-page h1, .udm-page h2, .udm-page h3, .udm-page h4 {
  font-family: 'Antonio','Oswald','Bebas Neue','Impact','Arial Black',sans-serif;
  font-weight: 700; letter-spacing: -0.01em; line-height: 1.05;
  color: var(--c-ink-strong); margin: 0 0 24px;
}
.udm-page h1 { font-size: clamp(2.5rem, 5vw + 1rem, 5rem); }
.udm-page h2 { font-size: clamp(2rem, 3vw + 1rem, 3.25rem); }
.udm-page h3 { font-size: clamp(1.4rem, 1vw + 1rem, 1.85rem); }
.udm-page p  { margin: 0 0 16px; max-width: 65ch; }

.udm-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-primary);
  margin: 0 0 16px; padding-left: 16px; position: relative;
}
.udm-eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 10px; height: 1px; background: var(--c-primary);
}

.udm-lead { font-size: clamp(1.05rem, .5vw + 1rem, 1.25rem); line-height: 1.55; max-width: 60ch; }
.udm-lead--center { margin-left: auto; margin-right: auto; }

/* ============================================================================
   SECTION
   ============================================================================ */
.udm-section { padding: clamp(64px, 8vw, 120px) clamp(20px, 4vw, 40px); position: relative; }
.udm-section--mute    { background: var(--c-bg-mute); }
.udm-section--dark    { background: var(--c-bg-dark); color: #fff; }
.udm-section--dark h2, .udm-section--dark h3 { color: #fff; }
.udm-section--primary { background: var(--c-primary); color: #fff; }
.udm-section--primary h1, .udm-section--primary h2, .udm-section--primary h3 { color: #fff; }
.udm-section--primary .udm-eyebrow,
.udm-section--dark    .udm-eyebrow { color: rgba(255,255,255,0.95); }
.udm-section--primary .udm-eyebrow::before,
.udm-section--dark    .udm-eyebrow::before { background: rgba(255,255,255,0.95); }
.udm-section--tight   { padding-top: 56px; padding-bottom: 56px; }

.udm-section-intro {
  max-width: 760px; margin: 0 auto 56px; text-align: center;
}
.udm-section-intro .udm-lead { margin-left: auto; margin-right: auto; }

.udm-section-cta { text-align: center; margin-top: 48px; }

.udm-narrow { max-width: 720px; margin: 0 auto; text-align: center; }
.udm-narrow .udm-lead { margin: 0 auto 24px; }
/* When .udm-narrow and .udm-section-cta share an element, .udm-narrow's
   `margin: 0 auto` wipes the section-cta top margin — restore a clear gap. */
.udm-narrow.udm-section-cta { margin-top: clamp(36px, 4.5vw, 56px); }

/* ============================================================================
   BUTTONS
   ============================================================================ */
.udm-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; line-height: 1; transition: all .25s;
  text-decoration: none;
}
.udm-btn,
.udm-btn:link,
.udm-btn:visited,
.udm-btn:hover,
.udm-btn:focus,
.udm-btn:active { text-decoration: none; }
.udm-btn:hover { transform: translateY(-1px); }

.udm-btn--primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.udm-btn--primary:hover { background: var(--c-primary-hi); border-color: var(--c-primary-hi); color: #fff; }
.udm-btn--secondary { background: var(--c-ink-strong); color: #fff; border-color: var(--c-ink-strong); }
.udm-btn--secondary:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.udm-btn--ghost { background: transparent; color: var(--c-ink-strong); border-color: var(--c-ink-strong); }
.udm-btn--ghost:hover { background: var(--c-ink-strong); border-color: var(--c-ink-strong); color: #fff; }
.udm-btn--white { background: #fff; color: var(--c-ink-strong); border-color: #fff; }
.udm-btn--white:hover { background: var(--c-ink-strong); border-color: var(--c-ink-strong); color: #fff; }
.udm-btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.udm-btn--ghost-light:hover { background: #fff; color: var(--c-ink-strong); border-color: #fff; }

.udm-arrow { display: inline-block; width: 14px; height: 1px; background: currentColor; position: relative; transition: transform .25s; }
.udm-arrow::after {
  content: ""; position: absolute; right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor; border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.udm-btn:hover .udm-arrow { transform: translateX(4px); }

/* ============================================================================
   HERO — SPLIT (home + cnc-milling)
   ============================================================================ */
.udm-hero-split { padding: 80px clamp(20px, 4vw, 40px); position: relative; overflow: hidden; }
.udm-hero-split__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px); align-items: center;
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 1;
}
.udm-hero-split__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.udm-hero-split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.udm-hero-split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease-out; }
.udm-hero-split__media:hover img { transform: scale(1.05); }
.udm-hero-split::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
  mask-image: linear-gradient(to bottom, black 60%, transparent);
}

/* ============================================================================
   HERO — STORY (centered headline, no image)
   ============================================================================ */
.udm-hero-story { padding: 120px clamp(20px, 4vw, 40px); text-align: center; position: relative; overflow: hidden; }
.udm-hero-story__inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.udm-hero-story__inner .udm-lead,
.udm-hero-story__inner .udm-info-meta { margin-left: auto; margin-right: auto; }
.udm-hero-story__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; justify-content: center; }
.udm-hero-brand {
  font-family: 'Antonio', sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--c-ink-strong); margin-bottom: 14px;
}
.udm-hero-brand span { color: var(--c-primary); }
.udm-hero-story::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
  mask-image: linear-gradient(to bottom, black 60%, transparent);
}
.udm-section--primary.udm-hero-story::before,
.udm-section--dark.udm-hero-story::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.10) 1px, transparent 1px);
}

/* ============================================================================
   STATS BAR
   ============================================================================ */
.udm-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center; max-width: 1280px; margin: 0 auto;
}
.udm-stats__item { padding: 24px 12px; position: relative; }
.udm-stats__item + .udm-stats__item::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--c-line);
}
.udm-section--dark    .udm-stats__item + .udm-stats__item::before,
.udm-section--primary .udm-stats__item + .udm-stats__item::before { background: rgba(255,255,255,0.2); }
.udm-stats__num {
  display: block; font-family: 'Antonio', sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 700;
  color: var(--c-ink-strong); line-height: 1; margin-bottom: 12px;
}
.udm-section--dark .udm-stats__num,
.udm-section--primary .udm-stats__num { color: #fff; }
.udm-stats__label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-mute);
}
.udm-section--dark .udm-stats__label,
.udm-section--primary .udm-stats__label { color: rgba(255,255,255,0.85); }

.udm-stats-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }

/* ============================================================================
   IMAGE + STORY
   ============================================================================ */
.udm-imgstory {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.udm-imgstory--reverse .udm-imgstory__media { order: 2; }
.udm-imgstory__media {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md);
}
.udm-imgstory__media--square { aspect-ratio: 1/1; }
.udm-imgstory__media img { width: 100%; height: 100%; object-fit: cover; }
.udm-imgstory__media::after {
  content: ""; position: absolute; bottom: -1px; right: -1px;
  width: 80px; height: 80px;
  border-right: 4px solid var(--c-primary);
  border-bottom: 4px solid var(--c-primary);
  border-bottom-right-radius: var(--radius-lg);
}
.udm-bullets { list-style: none; padding: 0; margin: 24px 0 32px; }
.udm-bullets li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.udm-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(-45deg);
}

/* ============================================================================
   GRIDS
   ============================================================================ */
.udm-grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.udm-grid-3   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.udm-grid-4   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }

/* ============================================================================
   CARDS
   ============================================================================ */
.udm-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.udm-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.udm-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--c-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.udm-card:hover::before { transform: scaleX(1); }
.udm-card--lg { padding: 48px; }
.udm-card__icon {
  width: 56px; height: 56px;
  margin-bottom: 24px;
  background: var(--c-primary-soft);
  border-radius: 12px; padding: 12px;
  display: flex; align-items: center; justify-content: center;
}
.udm-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.udm-card__icon--lg { width: 80px; height: 80px; }
.udm-card__title {
  font-family: 'Antonio', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--c-ink-strong); line-height: 1.15;
  margin: 0 0 12px;
}
.udm-card__title--lg { font-size: 2rem; }
.udm-card__body { font-size: 15px; color: var(--c-ink); margin: 0; line-height: 1.55; }
.udm-card__num {
  display: inline-block;
  font-family: 'Antonio', sans-serif;
  font-size: 14px; font-weight: 700;
  width: 32px; height: 32px;
  border: 1.5px solid var(--c-primary); border-radius: 50%;
  color: var(--c-primary);
  text-align: center; line-height: 30px;
  margin-bottom: 16px;
}

/* ============================================================================
   PROCESS STEPS
   ============================================================================ */
.udm-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 1280px; margin: 0 auto;
}
.udm-steps--4 { grid-template-columns: repeat(4, 1fr); }
.udm-steps__num {
  display: block; font-family: 'Antonio', sans-serif;
  font-size: 4rem; font-weight: 700;
  color: var(--c-primary); line-height: .9;
  margin-bottom: 16px;
}
.udm-steps__title {
  font-family: 'Antonio', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--c-ink-strong); margin: 0 0 12px;
}
.udm-steps__body { font-size: 15px; margin: 0; }

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.udm-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1280px; margin: 0 auto; }
.udm-testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 32px;
}
.udm-testimonial__quote {
  font-family: 'Antonio', sans-serif;
  font-size: 1.4rem; line-height: 1.3;
  color: #fff; margin: 0 0 24px;
  position: relative; padding-left: 24px;
}
.udm-testimonial__quote::before {
  content: '"'; position: absolute; left: -4px; top: -8px;
  font-size: 3.5rem; color: var(--c-primary); line-height: 1;
}
.udm-testimonial__author {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ============================================================================
   CTA BANNER
   ============================================================================ */
.udm-cta { text-align: center; position: relative; overflow: hidden; }
.udm-cta__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.udm-cta p { color: rgba(255,255,255,0.95); max-width: 60ch; margin: 0 auto 32px; }
.udm-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.udm-cta::before {
  content: ""; position: absolute; inset: -50% -10% auto auto;
  width: 60%; height: 200%;
  background: rgba(255,255,255,0.06);
  transform: rotate(15deg); pointer-events: none;
}

/* ============================================================================
   MARQUEE
   ============================================================================ */
.udm-marquee { background: var(--c-bg-dark); color: #fff; padding: 24px 0; overflow: hidden; white-space: nowrap; }
.udm-marquee__track {
  display: inline-flex; gap: 48px;
  animation: udm-scroll 40s linear infinite;
  font-family: 'Antonio', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.udm-marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.udm-marquee__track span::after {
  content: ""; display: inline-block;
  width: 8px; height: 8px;
  background: var(--c-primary);
  transform: rotate(45deg);
}
@keyframes udm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================================
   COMPARE (ISO vs AS9100D)
   ============================================================================ */
.udm-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1280px; margin: 0 auto; }
.udm-compare__col {
  background: #fff; border-radius: var(--radius-lg);
  padding: 48px; border: 1px solid var(--c-line);
}
.udm-compare__col--primary { background: var(--c-bg-dark); color: #fff; border-color: var(--c-bg-dark); }
.udm-compare__col--primary h3 { color: #fff; }
.udm-compare__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-mute); margin-bottom: 8px;
}
.udm-compare__col--primary .udm-compare__label { color: var(--c-primary); }
.udm-compare ul { list-style: none; padding: 0; margin: 16px 0 0; }
.udm-compare li { padding: 12px 0; border-top: 1px solid var(--c-line); font-size: 15px; }
.udm-compare__col--primary li { border-color: rgba(255,255,255,0.12); }

/* ============================================================================
   FAQ ACCORDION (native <details>)
   ============================================================================ */
.udm-faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--c-line); }
.udm-faq details { border-bottom: 1px solid var(--c-line); padding: 24px 0; }
.udm-faq summary {
  cursor: pointer; list-style: none;
  font-family: 'Antonio', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--c-ink-strong);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.udm-faq summary::-webkit-details-marker { display: none; }
.udm-faq summary::after {
  content: "+"; font-family: 'Antonio', sans-serif;
  color: var(--c-primary); font-size: 1.5em; font-weight: 400;
  line-height: 1; transition: transform .25s;
}
.udm-faq details[open] summary::after { content: "-"; }
.udm-faq details > p { margin: 16px 0 0; color: var(--c-ink); max-width: none; }

/* ============================================================================
   CONTACT — 2-column grid (info LEFT, form RIGHT)
   ============================================================================ */
.udm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  max-width: 1280px; margin: 0 auto;
}
.udm-info dl { margin: 32px 0 0; }
.udm-info dl > div { margin-bottom: 20px; }
.udm-info dt { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-mute); }
.udm-info dd { margin: 8px 0 0; font-size: 1.1rem; color: var(--c-ink-strong); font-weight: 500; }
.udm-info dd a { color: var(--c-ink-strong); }
.udm-info dd a:hover { color: var(--c-primary); }
.udm-info-meta { color: var(--c-mute); font-weight: 400; font-size: 14px; display: block; margin-top: 4px; }

.udm-form-slot {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.udm-form-slot h2 { margin-top: 0; font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); }
.udm-form-slot__intro { color: var(--c-mute); font-size: 15px; margin-bottom: 24px; }

/* Underline-only inputs to match UDM design language */
.udm-form-slot .form-row { margin-bottom: 24px; }
.udm-form-slot label {
  display: block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 6px;
}
.udm-form-slot .form-help { font-size: 13px; color: var(--c-mute); font-weight: 400; text-transform: none; letter-spacing: 0; }
.udm-form-slot input[type="text"],
.udm-form-slot input[type="email"],
.udm-form-slot input[type="tel"],
.udm-form-slot select,
.udm-form-slot textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d8d8d8;
  background: transparent;
  padding: 8px 0;
  font-family: inherit;
  font-size: 16px;
  color: var(--c-ink-strong);
  border-radius: 0;
  transition: border-color .2s;
}
.udm-form-slot textarea { min-height: 120px; resize: vertical; }
.udm-form-slot input:focus,
.udm-form-slot select:focus,
.udm-form-slot textarea:focus {
  outline: none;
  border-bottom-color: var(--c-primary);
}
.udm-form-slot .hp { position: absolute; left: -9999px; }
.udm-form-slot .form-status { margin: 16px 0 0; font-size: 14px; min-height: 1.2em; }
.udm-form-slot .form-status[data-state="ok"] { color: #0e7a4d; }
.udm-form-slot .form-status[data-state="error"] { color: #b8281f; }
.udm-form-slot button[type="submit"] {
  margin-top: 8px;
}

/* ----- File upload field ----- */
.udm-form-slot .form-file {
  border: 1px dashed #cfcfcf;
  border-radius: var(--radius-lg);
  background: var(--c-bg-mute);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  transition: border-color .2s, background-color .2s;
}
.udm-form-slot .form-file.is-dragover {
  border-color: var(--c-primary);
  border-style: solid;
  background: var(--c-primary-soft);
}
/* Hide the native input; the <label> is the visible control. */
.udm-form-slot .form-file input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.udm-form-slot .form-file__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  background: var(--c-ink-strong);
  border: 1px solid var(--c-ink-strong);
  border-radius: var(--radius-md, 6px);
  transition: background-color .25s, border-color .25s;
}
.udm-form-slot .form-file__button:hover { background: var(--c-primary); border-color: var(--c-primary); }
.udm-form-slot .form-file__button .udm-arrow { background: currentColor; }
/* Keyboard focus on the hidden input should ring the visible button. */
.udm-form-slot .form-file input[type="file"]:focus-visible + .form-file__button {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.udm-form-slot .form-file__hint {
  font-size: 14px;
  color: var(--c-mute);
}
.udm-form-slot .form-file__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.udm-form-slot .form-file:not(.has-files) .form-file__list { display: none; }
.udm-form-slot .form-file__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink-strong);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 8px 10px 8px 12px;
}
.udm-form-slot .form-file__item::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  background: var(--c-primary);
  border-radius: 50%;
}
.udm-form-slot .form-file__name {
  flex: 1 1 auto;
  word-break: break-all;
}
.udm-form-slot .form-file__remove {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--c-mute);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s, background-color .2s;
}
.udm-form-slot .form-file__remove:hover,
.udm-form-slot .form-file__remove:focus-visible {
  color: #fff;
  background: var(--c-primary);
  outline: none;
}

/* ============================================================================
   SUPPLIER CARD (dark)
   ============================================================================ */
.udm-page .udm-supplier {
  background: #1A1A1A !important;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  max-width: 1280px; margin: 0 auto;
}
.udm-page .udm-supplier h2,
.udm-page .udm-supplier h3,
.udm-page .udm-supplier p,
.udm-page .udm-supplier .udm-lead,
.udm-page .udm-supplier li { color: #fff; }
.udm-page .udm-supplier ul {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px;
}
.udm-page .udm-supplier li { padding-left: 28px; position: relative; }
.udm-page .udm-supplier li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(-45deg);
}
.udm-page .udm-supplier__note { margin-top: 32px; }
.udm-page .udm-supplier__note .udm-btn { margin-top: 8px; }

/* ============================================================================
   QUOTE PANEL (parallax overlay — About "Why We Exist")
   ============================================================================ */
.udm-quote-panel {
  background-image:
    linear-gradient(rgba(26,26,26,0.85), rgba(26,26,26,0.85)),
    url('/images/aerospace-parts-manufacturer-arkansas.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
}
.udm-quote-panel__inner { max-width: 900px; margin: 0 auto; }
.udm-quote-panel h2 { color: #fff; }
.udm-quote-panel .udm-eyebrow { color: #fff; }
.udm-quote-panel .udm-eyebrow::before { background: #fff; }
.udm-quote-panel .udm-lead { color: rgba(255,255,255,0.95); margin: 0 auto; }

/* ============================================================================
   FOOTER (content-footer block)
   ============================================================================ */
.udm-footer {
  background: #1A1A1A;
  color: rgba(255,255,255,0.85);
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 40px) 32px;
}
.udm-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.udm-footer__brand {
  font-family: 'Antonio','Oswald','Bebas Neue','Impact','Arial Black',sans-serif;
  font-size: 28px; font-weight: 700;
  color: #fff; margin: 0 0 8px;
  line-height: 1;
}
.udm-footer__tagline {
  color: var(--c-primary);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 16px;
}
.udm-footer__about {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  max-width: 32ch;
  margin-bottom: 16px;
}
.udm-footer__phone {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 8px;
}
.udm-footer__phone:hover { color: var(--c-primary); }

.udm-footer h4 {
  font-family: 'Fira Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.udm-footer ul { list-style: none; padding: 0; margin: 0; }
.udm-footer li { margin-bottom: 8px; }
.udm-footer__links a {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
}
.udm-footer__links a:hover { color: var(--c-primary); }

.udm-footer__certs li {
  padding-left: 24px;
  position: relative;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 15px;
}
.udm-footer__certs li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(-45deg);
}

.udm-footer__cta { margin-top: 16px; }

.udm-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.udm-footer__bottom a { color: rgba(255,255,255,0.85); font-weight: 500; }
.udm-footer__bottom a:hover { color: var(--c-primary); }

/* ============================================================================
   PRIVACY (long-form)
   ============================================================================ */
.udm-privacy { max-width: 720px; margin: 0 auto; }
.udm-privacy h2 { font-size: 1.5rem; margin-top: 48px; }
.udm-privacy ul { padding-left: 24px; }

/* ============================================================================
   REVEAL ON LOAD
   ============================================================================ */
.udm-page .udm-reveal { animation: udm-reveal-up .8s both; }
.udm-page .udm-reveal:nth-of-type(2) { animation-delay: .1s; }
.udm-page .udm-reveal:nth-of-type(3) { animation-delay: .2s; }
@keyframes udm-reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 960px) {
  .udm-hero-split__grid { grid-template-columns: 1fr; }
  .udm-hero-split__media { aspect-ratio: 16/10; order: -1; }
  .udm-imgstory { grid-template-columns: 1fr; gap: 32px; }
  .udm-imgstory--reverse .udm-imgstory__media { order: 0; }
  .udm-stats { grid-template-columns: repeat(2, 1fr); }
  .udm-stats__item + .udm-stats__item::before { display: none; }
  .udm-grid-3, .udm-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .udm-steps, .udm-steps--4, .udm-testimonials { grid-template-columns: 1fr; gap: 32px; }
  .udm-compare { grid-template-columns: 1fr; }
  .udm-contact-grid { grid-template-columns: 1fr; }
  .udm-page .udm-supplier ul { grid-template-columns: 1fr; }
  .udm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .udm-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .udm-footer__bottom { flex-direction: column; }
}
@media (max-width: 640px) {
  .udm-grid-2x2, .udm-grid-3, .udm-grid-4 { grid-template-columns: 1fr; }
  .udm-quote-panel { background-attachment: scroll; }
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================================
   SCROLL REVEAL — progressive enhancement.
   Active only when <html> carries .udm-js (set in header.php BEFORE paint, and
   only if IntersectionObserver exists). No-JS / unsupported visitors never get
   .udm-js, so every element below stays fully visible — nothing is ever hidden
   without JS to bring it back. footer.php adds .is-inview as elements scroll in.
   Heroes keep their own on-load .udm-reveal animation (not targeted here).
   ============================================================================ */
.udm-page { --udm-reveal-ease: cubic-bezier(.16,.84,.44,1); }

/* Initial hidden state — singles + the staggered children of containers. */
.udm-js .udm-section-intro,
.udm-js .udm-cta__inner,
.udm-js .udm-quote-panel,
.udm-js .udm-compare,
.udm-js .udm-supplier,
.udm-js .udm-stats__item,
.udm-js .udm-card,
.udm-js .udm-steps > div,
.udm-js .udm-steps--4 > div,
.udm-js .udm-testimonial,
.udm-js .udm-imgstory > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--udm-reveal-ease), transform .7s var(--udm-reveal-ease);
  will-change: opacity, transform;
}

/* Revealed state — singles reveal themselves; containers reveal their children. */
.udm-js .udm-section-intro.is-inview,
.udm-js .udm-cta__inner.is-inview,
.udm-js .udm-quote-panel.is-inview,
.udm-js .udm-compare.is-inview,
.udm-js .udm-supplier.is-inview,
.udm-js .udm-stats.is-inview > .udm-stats__item,
.udm-js .is-inview > .udm-card,
.udm-js .udm-steps.is-inview > div,
.udm-js .udm-testimonials.is-inview > .udm-testimonial,
.udm-js .udm-imgstory.is-inview > * {
  opacity: 1;
  transform: none;
}

/* Stagger — cascades the children of grids / stats / steps / testimonials. */
.udm-js .udm-stats__item:nth-child(2),
.udm-js .udm-card:nth-child(2),
.udm-js .udm-steps > div:nth-child(2),
.udm-js .udm-testimonial:nth-child(2),
.udm-js .udm-imgstory > *:nth-child(2) { transition-delay: .10s; }
.udm-js .udm-stats__item:nth-child(3),
.udm-js .udm-card:nth-child(3),
.udm-js .udm-steps > div:nth-child(3),
.udm-js .udm-testimonial:nth-child(3) { transition-delay: .20s; }
.udm-js .udm-stats__item:nth-child(4),
.udm-js .udm-card:nth-child(4) { transition-delay: .30s; }
.udm-js .udm-card:nth-child(5) { transition-delay: .40s; }
.udm-js .udm-card:nth-child(6) { transition-delay: .50s; }

/* Stat numbers "pop" — scale up as the stats bar enters view. */
.udm-js .udm-stats__num {
  transform: scale(.85);
  transition: transform .8s var(--udm-reveal-ease);
}
.udm-js .udm-stats.is-inview .udm-stats__num { transform: scale(1); }

/* Reduced-motion: never hide anything; the static page shows in full. */
@media (prefers-reduced-motion: reduce) {
  .udm-js .udm-section-intro,
  .udm-js .udm-cta__inner,
  .udm-js .udm-quote-panel,
  .udm-js .udm-compare,
  .udm-js .udm-supplier,
  .udm-js .udm-stats__item,
  .udm-js .udm-card,
  .udm-js .udm-steps > div,
  .udm-js .udm-steps--4 > div,
  .udm-js .udm-testimonial,
  .udm-js .udm-imgstory > *,
  .udm-js .udm-stats__num {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================================
   6/16 REVIEW ITERATION — video-ready dark hero, centered cert strip,
   CNC milling highlights band, inclusive industries list.
   ============================================================================ */

/* Dark hero H1: .udm-page h1 forces --c-ink-strong, and --dark only recolors
   h2/h3 (unlike --primary which covers h1) — so set the hero h1 white here. */
.udm-section--dark.udm-hero-story h1 { color: #fff; }
.udm-section--dark.udm-hero-story .udm-lead { color: rgba(255,255,255,0.88); }

/* Compact page hero — trims the standard 120px hero padding so an interior page
   hero with a CTA (CNC milling) matches the height of the about/cert/contact
   heroes. The homepage keeps the full-size --home hero. */
.udm-hero-story--compact { padding-top: clamp(44px, 5vw, 56px); padding-bottom: clamp(44px, 5vw, 56px); }

/* Background-video layer (#17, video-ready). Inert until the commented
   <div class="udm-hero-story__bg"> in the page is uncommented and the section
   gets .udm-hero-story--media (which adds the readability overlay). */
.udm-hero-story__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.udm-hero-story__bg video,
.udm-hero-story__bg img { width: 100%; height: 100%; object-fit: cover; }
.udm-hero-story--media::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.72), rgba(26,26,26,0.84));
}
.udm-hero-story--media .udm-hero-story__inner { position: relative; z-index: 1; }

/* Cert strip centered — 2 items under "Certified Quality Management System". */
.udm-stats--center {
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: center; gap: clamp(32px, 6vw, 80px);
  max-width: 640px;
}

/* CNC milling highlight cards — cert-badge styling (light cards, orange top bar,
   circular soft icon, hover lift), 3-up. Replaces the old flat dark band. */
.udm-millcards { max-width: 1100px; margin: 0 auto; }
.udm-millcard { text-align: center; align-items: center; }
.udm-millcard .udm-card__body { max-width: 34ch; margin-left: auto; margin-right: auto; }
.udm-millcard::before { transform: scaleX(1); }   /* persistent orange top-accent bar */
.udm-millcard__icon { border-radius: 50%; }        /* circular orange-soft icon */

/* Inclusive "Industries We Serve" list — homepage, replaces the rotating marquee. */
.udm-industries {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; list-style: none; padding: 0; margin: 32px auto 0; max-width: 900px;
}
.udm-industries li {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Antonio','Oswald',sans-serif; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; font-size: 14px;
  color: var(--c-ink-strong);
  border: 1px solid #d9d9d9; border-radius: var(--radius);
  padding: 12px 24px; background: #fff;
  box-shadow: 0 2px 10px rgba(26,26,26,0.06);
  transition: transform .2s, box-shadow .2s, border-color .2s, color .2s;
}
.udm-industries li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--c-primary); transition: transform .2s;
}
.udm-industries li:hover {
  transform: translateY(-2px); border-color: var(--c-primary);
  box-shadow: 0 8px 22px rgba(231,83,39,0.18); color: var(--c-primary);
}
.udm-industries li:hover::before { transform: scale(1.4); }

@media (max-width: 640px) {
  .udm-stats--center  { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================================
   PIZZAZZ PASS — certification badge cards + day-one callout panel.
   ============================================================================ */

/* Cert badge cards — reuse .udm-card (hover lift + shadow + orange top bar).
   2 centered cards; the udm-grid-2x2 class on the wrapper keeps the scroll-reveal
   observer un-hiding the cards. */
.udm-certbadges {
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center; max-width: 760px; margin: 0 auto;
}
.udm-certbadge { text-align: center; align-items: center; }
.udm-certbadge .udm-card__body { max-width: 36ch; }
/* Persistent orange top-accent bar (the base .udm-card shows it on hover only). */
.udm-certbadge::before { transform: scaleX(1); }
/* Circular orange-soft icon container. */
.udm-certbadge__icon { border-radius: 50%; }

/* ============================================================================
   ACCREDITATION MARKS (SCB + ANAB). Per SCB usage guide: ANAB is never shown in
   isolation from SCB and is sized no larger than the SCB mark.
   ============================================================================ */
.udm-marklockup { margin: 48px auto 0; text-align: center; }
.udm-marklockup__link {
  display: inline-flex; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 56px); flex-wrap: wrap;
}
/* Specificity note: .udm-page img { height:auto } (0,1,1) would otherwise win,
   so these mark rules are scoped through their wrapper to reach (0,2,0). */
.udm-marklockup__link .udm-marklockup__scb  { height: 132px; width: auto; }
.udm-marklockup__link .udm-marklockup__anab { height: 96px;  width: auto; }   /* < SCB height */
.udm-marklockup__meta {
  margin: 22px 0 0; font-size: 14px; color: var(--c-mute);
  letter-spacing: 0.01em;
}
@media (max-width: 520px) {
  .udm-marklockup__link .udm-marklockup__scb  { height: 108px; }
  .udm-marklockup__link .udm-marklockup__anab { height: 78px; }
}

/* Footer marks — color marks on a white chip (no white ANAB file; footer is dark). */
.udm-footer__marks {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 10px; padding: 10px 14px; margin-top: 20px;
}
.udm-footer__marks .udm-footer__marks-scb  { height: 52px; width: auto; }
.udm-footer__marks .udm-footer__marks-anab { height: 38px; width: auto; }  /* < SCB height */

/* "Powered by Spark" footer credit mark — inline-block beats the img/svg block
   reset so the orange mark stays on the credit text line. */
.spark-mark {
  display: inline-block;
  width: 1.6em;
  height: 1.6em;
  margin-left: 0.15em;
  vertical-align: -0.5em;
}

/* Day-one callout — turns the plain statement into an emphasis panel. */
.udm-callout {
  background: var(--c-primary-soft);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  max-width: 920px;
}
.udm-callout::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--c-primary);
}
/* Callout with a bullet list (cnc-milling Materials) — center the list as a
   group while keeping each item left-aligned and readable. */
.udm-callout .udm-bullets--center { display: inline-block; text-align: left; margin: 24px 0 8px; }
.udm-callout__cta { margin-top: 8px; }

@media (max-width: 640px) {
  .udm-certbadges { grid-template-columns: 1fr; }
}

/* ============================================================================
   Cookie consent banner — fixed bottom bar. Rendered OUTSIDE .udm-page, so all
   colors are hardcoded brand values (the --c-* / --radius tokens are scoped to
   .udm-page and do not resolve here). Hidden until JS un-hides on first visit.
   ============================================================================ */
.udm-consent[hidden] { display: none; }
.udm-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  flex-wrap: wrap;
  padding: 16px clamp(16px, 4vw, 40px);
  background: #1A1A1A;
  border-top: 3px solid #E75327;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.28);
}
.udm-consent__text {
  margin: 0;
  color: #f2f2f2;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 720px;
}
.udm-consent__text a { color: #ff7a4d; text-decoration: underline; }
.udm-consent__text a:hover { color: #fff; }
.udm-consent__actions { display: flex; gap: 12px; flex-shrink: 0; }
.udm-consent__btn {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.udm-consent__btn--accept { background: #E75327; color: #fff; }
.udm-consent__btn--accept:hover { background: #C13E15; }
.udm-consent__btn--decline { background: transparent; color: #f2f2f2; border-color: #555; }
.udm-consent__btn--decline:hover { border-color: #f2f2f2; }
.udm-consent__btn:focus-visible { outline: 2px solid #ff7a4d; outline-offset: 2px; }

@media (max-width: 560px) {
  .udm-consent { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .udm-consent__actions { justify-content: center; }
}
