/* =========================================================================
   Unicast Company — homepage concept
   Structure/theme pattern borrowed from the CastRiteMetals site (header
   utility bar + sticky nav, hero, card row, dark "hallmark" band,
   alternating image/text bands, CTA band, 3-col footer).
   Palette/type/content/photography sourced from unicastco.com.
   ========================================================================= */

:root {
  --uc-orange: #f09532; /* Unicast brand orange (from unicastco.com) */
  --uc-orange-hot: #f79830; /* matches the gradient stop CastRite already
                                  used for the Unicast cross-promo badge */
  --uc-orange-light: #ffd166; /* hot/molten highlight */
  --uc-orange-deep: #c1440e; /* cooling ember edge */
  --uc-black: #0a0a0a;
  --uc-charcoal: #3f3f3f; /* Unicast's real dark-band color */
  --uc-charcoal-dark: #262626;
  --uc-gray-100: #f7f7f4;
  --uc-gray-200: #ececec;
  --uc-text: #232323;
  --uc-radius: 6px;

  --uc-gradient: linear-gradient(
    135deg,
    var(--uc-orange-light) 0%,
    var(--uc-orange-hot) 40%,
    var(--uc-orange) 65%,
    var(--uc-orange-deep) 100%
  );
  --uc-gradient-soft: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 15%,
    var(--uc-orange-hot) 100%
  );

  --uc-font-heading: "Barlow", "Trebuchet MS", Helvetica, Arial, sans-serif;
  --uc-font-body:
    "Trebuchet MS", "Trebuchet", Helvetica, Arial, Lucida, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--uc-font-body);
  color: var(--uc-text);
  line-height: 1.7;
  background: #fff;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--uc-font-heading);
  font-weight: 800;
  color: var(--uc-black);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

a {
  color: var(--uc-orange-deep);
  text-decoration: none;
}
a:hover {
  color: var(--uc-orange);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.text-orange {
  color: var(--uc-orange);
}

.section {
  padding: 80px 0;
}
.section-sm {
  padding: 48px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--uc-font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--uc-orange-deep);
  margin-bottom: 14px;
}

.eyebrow .drip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uc-gradient);
  display: inline-block;
}

/* ---- gradient underline / "gradiance motion" accent ---- */
.uc-underline {
  position: relative;
  display: block;
}
.uc-underline::after {
  content: "";
  display: block;
  height: 5px;
  width: 90px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--uc-gradient);
  background-size: 200% 100%;
  animation: uc-flow 3.5s ease-in-out infinite alternate;
}
.uc-underline.center::after {
  margin-left: auto;
  margin-right: auto;
}

@keyframes uc-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* ---- gradient text ---- */
.uc-gradient-text {
  background: var(--uc-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: uc-flow 5s ease-in-out infinite alternate;
}

/* =========================================================================
   Header
   ========================================================================= */
#uc-topbar {
  position: relative;
  z-index: 1001;
  background: linear-gradient(
    90deg,
    var(--uc-orange-light) 0%,
    var(--uc-orange-hot) 5%,
    var(--uc-orange) 21%,
    var(--uc-orange-deep) 40%,
    var(--uc-black) 100%
  );
  color: #fff;
  font-size: 13px;
}
#uc-topbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 40px;
  flex-wrap: wrap;
  gap: 6px 20px;
}
#uc-topbar a {
  color: #fff;
}
#uc-topbar a:hover {
  color: var(--uc-orange-light);
}

/* Home + Get a Quote quicklinks, shown in the topbar only below the
   breakpoint where #uc-nav collapses into the off-canvas drawer, so the
   topbar isn't left empty. */
.uc-topbar-quicklinks {
  display: none;
}

#uc-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.2s ease,
    padding 0.2s ease;
}
#uc-header.is-stuck {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

#uc-header .uc-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

#uc-header {
  border-bottom: 1px solid var(--uc-gray-200);
}
#uc-header .uc-logo img {
  height: 95px;
  width: auto;
  margin-top: -28px;
}

#uc-nav {
  display: flex;
  align-items: center;
  gap: 0;
  align-self: stretch;
}
#uc-nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  align-self: stretch;
}

#uc-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}

#uc-nav > ul > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  font-family: var(--uc-font-heading);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  text-transform: none;
  color: #fff;
}

/* sliding gradient underline indicator, grows from center on hover/active */
#uc-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--uc-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
#uc-nav > ul > li:hover > a::after,
#uc-nav > ul > li.active > a::after {
  transform: scaleX(1);
}

#uc-nav > ul > li:hover > a,
#uc-nav > ul > li.active > a {
  color: var(--uc-orange-light);
}

#uc-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #fff;
  border-top: 3px solid var(--uc-orange);
  border-right: 1px solid var(--uc-gray-200);
  border-bottom: 1px solid var(--uc-gray-200);
  border-left: 1px solid var(--uc-gray-200);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
}
#uc-nav > ul > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#uc-nav .sub-menu li + li {
  border-top: 1px solid var(--uc-gray-200);
}
#uc-nav .sub-menu a {
  position: relative;
  display: block;
  padding: 11px 22px 11px 24px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--uc-text);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    padding-left 0.15s ease;
}
/* left accent bar that slides in on hover, like a defined menu highlight */
#uc-nav .sub-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--uc-gradient);
  transform: scaleY(0);
  transition: transform 0.15s ease;
}
#uc-nav .sub-menu a:hover {
  background: var(--uc-gray-100);
  color: var(--uc-orange-deep);
  padding-left: 28px;
}
#uc-nav .sub-menu a:hover::before {
  transform: scaleY(1);
}

/* Services/Materials/etc. are duplicated into #uc-nav for the mobile
   drawer (see markup comment) -- desktop shows them in #uc-main-nav next
   to the logo instead, so keep them out of #uc-nav's own row there. */
#uc-nav > ul > li.uc-drawer-only {
  display: none;
}

/* Close button for the mobile off-canvas drawer, top-left */
.uc-nav-close {
  display: none;
}

.uc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--uc-radius);
  font-family: var(--uc-font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.uc-btn:hover {
  transform: translateY(-2px);
}

.uc-btn-solid {
  background: var(--uc-gradient);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 8px 22px rgba(240, 149, 50, 0.35);
  animation: uc-flow 4s ease-in-out infinite alternate;
}
.uc-btn-solid:hover {
  color: #fff;
  box-shadow: 0 10px 26px rgba(240, 149, 50, 0.5);
}

.uc-btn-dark {
  background: var(--uc-black);
  color: #fff;
}
.uc-btn-dark:hover {
  color: #fff;
  background: var(--uc-charcoal-dark);
}

.uc-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.uc-btn-outline:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* sweeping shine on hover, matching the badge shimmer already used on the
   CastRite site for the Unicast cross-promo link */
.uc-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.65s ease;
  pointer-events: none;
}
.uc-btn:hover::after {
  left: 130%;
}

.uc-header-cta {
  margin-left: 18px;
  padding: 12px 22px;
  font-size: 12px;
}

#uc-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--uc-black);
  cursor: pointer;
}

/* =========================================================================
   Header main nav (Services / Materials / etc.), right of the logo.
   Hidden below 991px along with the rest of the header nav -- the same
   items are duplicated into #uc-nav (see markup comment) so they're still
   reachable from the mobile drawer.
   ========================================================================= */
#uc-main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  align-self: stretch;
}
#uc-main-nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  align-self: stretch;
}
#uc-main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}
#uc-main-nav > ul > li + li::before {
  content: "";
  width: 1px;
  align-self: center;
  height: 22px;
  background: var(--uc-gray-200);
}
#uc-main-nav > ul > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-family: var(--uc-font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--uc-black);
  white-space: nowrap;
}
#uc-main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--uc-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
#uc-main-nav > ul > li:hover > a::after {
  transform: scaleX(1);
}
#uc-main-nav > ul > li:hover > a {
  color: var(--uc-orange-deep);
}
#uc-main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-top: 3px solid var(--uc-orange);
  border-right: 1px solid var(--uc-gray-200);
  border-bottom: 1px solid var(--uc-gray-200);
  border-left: 1px solid var(--uc-gray-200);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
}
#uc-main-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#uc-main-nav .sub-menu li {
  position: relative;
}
#uc-main-nav .sub-menu li + li {
  border-top: 1px solid var(--uc-gray-200);
}
#uc-main-nav .sub-menu a {
  position: relative;
  display: block;
  padding: 11px 22px 11px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--uc-text);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    padding-left 0.15s ease;
}
#uc-main-nav .sub-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--uc-gradient);
  transform: scaleY(0);
  transition: transform 0.15s ease;
}
#uc-main-nav .sub-menu a:hover {
  background: var(--uc-gray-100);
  color: var(--uc-orange-deep);
  padding-left: 24px;
}
#uc-main-nav .sub-menu a:hover::before {
  transform: scaleY(1);
}
#uc-main-nav .sub-menu a .fa-chevron-right {
  float: right;
  margin-top: 2px;
}
#uc-main-nav .sub-menu .sub-menu {
  top: -7px;
  left: 100%;
}
@media (max-width: 1200px) {
  #uc-main-nav > ul > li > a {
    padding: 0 11px;
    font-size: 15px;
  }
}
@media (max-width: 991px) {
  #uc-main-nav {
    display: none;
  }
}

/* Cross-promo badge linking out to castritemetal.com, mirroring the
   "For Iron Casting" Unicast badge CastRite's own nav uses. */
#uc-main-nav > ul > li.uc-castrite-promo {
  padding-left: 6px;
}
/* The badge's <a> is still a direct #uc-main-nav > ul > li > a, so it
   otherwise inherits the sliding gradient underline every other top-level
   nav link gets on hover -- suppress it here. */
#uc-main-nav > ul > li.uc-castrite-promo > a::after {
  content: none;
}
/* The generic top-level link rule also forces height:100%, stretching it
   to fill the whole 92px header row -- so the hover fill touches the
   topbar and hero with no breathing room. Let it size to its own content
   and get centered by the li's align-items instead. */
#uc-main-nav > ul > li.uc-castrite-promo > a {
  height: auto;
}
.uc-castrite-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: var(--uc-radius);
  text-decoration: none;
  background-color: transparent;
  transition: background-color 0.25s ease;
}
.uc-castrite-badge:hover {
  /* CastRite's own brand teal (header-top / accent color on
     castritemetal.com) */
  background-color: #00434c;
}
.uc-castrite-badge-shine {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
}
.uc-castrite-badge-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  transition: left 0.65s ease;
  z-index: 1;
}
.uc-castrite-badge:hover .uc-castrite-badge-shine::after {
  left: 130%;
}
/* Stack the dark-on-transparent logo and the white-on-transparent logo on
   top of each other; hover crossfades from one to the other as the
   badge's background fills with the teal theme color, so the white mark
   reads correctly against it. */
.uc-castrite-badge-logowrap {
  position: relative;
  display: block;
  height: 45px;
}
.uc-castrite-badge-logo {
  display: block;
  height: 45px;
  width: auto;
  transition: opacity 0.25s ease;
}
.uc-castrite-badge-logo-white {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.uc-castrite-badge:hover .uc-castrite-badge-logo-dark {
  opacity: 0;
}
.uc-castrite-badge:hover .uc-castrite-badge-logo-white {
  opacity: 1;
}
@media (max-width: 1200px) {
  .uc-castrite-badge-logowrap {
    height: 38px;
  }
  .uc-castrite-badge-logo {
    height: 40px;
  }
}

/* Mobile-drawer version of the same badge -- just the logo, left aligned
   like the rest of the drawer's items. */
.uc-castrite-drawer-link {
  display: flex !important;
  align-items: center;
}
.uc-castrite-drawer-link img {
  height: 24px;
  width: auto;
}
/* Wrapper for the drawer's CastRite logo -- sits below Get a Quote instead
   of among the nav links, so it's hidden with the rest of #uc-nav on
   desktop and only shown once the drawer layout kicks in. */
.uc-castrite-drawer-cta {
  display: none;
}
@media (max-width: 991px) {
  .uc-castrite-drawer-cta {
    display: flex;
    margin: 22px 28px 0;
    padding-top: 18px;
    border-top: 1px solid var(--uc-gray-200);
  }
}

/* =========================================================================
   Hero
   ========================================================================= */
#uc-hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: #111;
}
.uc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/hero-molten-pour.jpg") center 65% / cover no-repeat;
  animation: uc-hero-zoom 18s ease-in-out infinite alternate;
  opacity: 0.8;
}
@keyframes uc-hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .uc-hero-bg {
    animation: none;
  }
}
#uc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(5, 5, 5, 0.88) 0%,
    rgba(5, 5, 5, 0.62) 45%,
    rgba(20, 10, 4, 0.35) 75%
  );
}
#uc-hero .container {
  position: relative;
  z-index: 2;
  /* #uc-hero is display:flex (to vertically center its one child), so this
     container becomes a flex item: flex's default main-axis sizing would
     shrink it to fit its content instead of honoring .container's own
     max-width/margin:auto, and then center that shrunk box in the
     leftover space -- pushing the hero text well right of where it lines
     up under the header logo. Give it back its full-width row so the
     normal max-width/auto-margin centering (used everywhere else on the
     page) applies here too. */
  width: 100%;
}
#uc-hero .uc-hero-inner {
  max-width: 680px;
  text-align: left;
}

.uc-hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: var(--uc-font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  margin-top: 18px;
}
.uc-hero-eyebrow .drip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uc-gradient);
  display: inline-block;
  margin-right: 8px;
}

#uc-hero h1 {
  color: #fff;
  font-size: 51px;
  text-transform: none;
  margin-bottom: 0;
}
#uc-hero h1 .uc-hero-highlight {
  background: var(--uc-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: uc-flow 5s ease-in-out infinite alternate;
  text-shadow: 0 0 30px rgba(240, 149, 50, 0.45);
}

/* second, smaller line of the split H1 - mirrors CastRite's ".h2subtitle"
   treatment (a subdued uppercase tagline stacked under the welcome line) */
#uc-hero h1 .uc-hero-subtitle {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--uc-orange-light);
}

#uc-hero .uc-hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  max-width: 560px;
  margin: 24px 0 34px;
}

.uc-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================================
   Welcome / intro
   ========================================================================= */
.uc-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.uc-intro p {
  font-size: 17px;
  color: #444;
}

.uc-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .uc-card-row {
    grid-template-columns: 1fr;
  }
}

.uc-card {
  background: #fff;
  border: 1px solid var(--uc-gray-200);
  border-top: 4px solid var(--uc-orange);
  border-radius: var(--uc-radius);
  padding: 34px 28px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.uc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.09);
}
.uc-card .uc-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--uc-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}
.uc-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.uc-card p {
  color: #555;
  font-size: 15px;
  margin-bottom: 16px;
}
.uc-card a.uc-card-link {
  font-family: var(--uc-font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--uc-orange-deep);
}
.uc-card a.uc-card-link i {
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.uc-card:hover a.uc-card-link i {
  transform: translateX(4px);
}

/* =========================================================================
   Hallmark dark band
   ========================================================================= */
#uc-hallmark {
  background: var(--uc-charcoal);
  color: #f2f2f2;
  padding: 90px 0;
}
#uc-hallmark .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 900px) {
  #uc-hallmark .row {
    grid-template-columns: 1fr;
  }
}
#uc-hallmark h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 6px;
}
#uc-hallmark .uc-hallmark-quote {
  font-family: var(--uc-font-heading);
  font-weight: 800;
  font-size: 26px;
  margin: 14px 0 22px;
}
#uc-hallmark p.lead {
  color: #d8d8d8;
  font-size: 17px;
}

.uc-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.uc-checklist li {
  --uc-delay: 0s;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #f0f0f0;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--uc-delay),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--uc-delay),
    filter 0.7s ease-out var(--uc-delay);
}
.uc-checklist li.uc-in-view {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.uc-checklist li:nth-child(1) {
  --uc-delay: 0s;
}
.uc-checklist li:nth-child(2) {
  --uc-delay: 0.08s;
}
.uc-checklist li:nth-child(3) {
  --uc-delay: 0.16s;
}
.uc-checklist li:nth-child(4) {
  --uc-delay: 0.24s;
}
.uc-checklist li:nth-child(5) {
  --uc-delay: 0.32s;
}
.uc-checklist li:nth-child(6) {
  --uc-delay: 0.4s;
}
.uc-checklist li:nth-child(7) {
  --uc-delay: 0.48s;
}
.uc-checklist li:nth-child(8) {
  --uc-delay: 0.56s;
}
@media (prefers-reduced-motion: reduce) {
  .uc-checklist li {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
.uc-checklist li i {
  color: #fff;
  background: var(--uc-gradient);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
  transform: scale(0) rotate(-35deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1)
    calc(var(--uc-delay) + 0.1s);
}
.uc-checklist li.uc-in-view i {
  transform: scale(1) rotate(0deg);
}
@media (prefers-reduced-motion: reduce) {
  .uc-checklist li i {
    transform: none;
    transition: none;
  }
}

/* =========================================================================
   Alternating feature bands
   ========================================================================= */
.uc-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}
.uc-feature-row.reverse .uc-feature-media {
  order: 2;
}
.uc-feature-row.reverse .uc-feature-copy {
  order: 1;
}
@media (max-width: 900px) {
  .uc-feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }
  .uc-feature-row.reverse .uc-feature-media,
  .uc-feature-row.reverse .uc-feature-copy {
    order: unset;
  }
}
.uc-feature-media img {
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
}

.uc-feature-copy h2 {
  font-size: 30px;
}
.uc-feature-copy p {
  color: #4a4a4a;
  font-size: 16px;
  margin-bottom: 14px;
}

/* =========================================================================
   Closing CTA band
   ========================================================================= */
#uc-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      60% 90% at 50% 120%,
      rgba(240, 149, 50, 0.35) 0%,
      rgba(240, 149, 50, 0) 65%
    ),
    linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  padding: 100px 0 90px;
  text-align: center;
}
#uc-cta .container {
  position: relative;
  z-index: 2;
}

.uc-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--uc-font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--uc-orange-light);
  margin-bottom: 20px;
}

#uc-cta .uc-cta-headline {
  color: #fff;
  font-size: 38px;
  max-width: 820px;
  margin: 0 auto 18px;
  line-height: 1.25;
}
#uc-cta .uc-cta-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  margin: 0 auto 42px;
}

.uc-cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.uc-btn-lg {
  padding: 14px 26px;
  gap: 16px;
}
.uc-btn-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.uc-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-size: 16px;
  letter-spacing: 0.3px;
  text-transform: none;
}
.uc-btn-text small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 2px;
}

.uc-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.uc-btn-ghost .uc-btn-icon {
  background: rgba(255, 255, 255, 0.1);
}
.uc-btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

/* =========================================================================
   Footer
   ========================================================================= */
#uc-footer {
  background: var(--uc-black);
  color: #d8d8d8;
}
#uc-footer .uc-footer-logo {
  text-align: center;
  padding: 56px 0 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#uc-footer .uc-footer-logo img {
  height: 90px;
  margin: 0 auto;
  top: -55px;
  position: relative;
}

.uc-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 767px) {
  .uc-footer-grid {
    grid-template-columns: 1fr;
  }
}
.uc-footer-grid i {
  font-size: 26px;
  color: var(--uc-orange);
  margin-bottom: 14px;
}
.uc-footer-grid strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 8px;
  font-family: var(--uc-font-heading);
}
.uc-footer-grid a {
  color: #d8d8d8;
}
.uc-footer-grid a:hover {
  color: var(--uc-orange);
}

.uc-footer-bottom {
  text-align: center;
  padding: 26px 0;
  font-size: 13px;
  color: #999;
}
.uc-footer-bottom a {
  color: #999;
  text-decoration: underline;
}

/* =========================================================================
   Scroll-to-top button, styled as a foundry crucible that fills with
   molten iron as you scroll down -- clicking it "pours" you back to the
   top.
   ========================================================================= */
.uc-scrolltop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--uc-charcoal-dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    box-shadow 0.2s ease;
  z-index: 1200;
}
.uc-scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.uc-scrolltop:hover {
  box-shadow: 0 10px 30px rgba(193, 68, 14, 0.45);
}
.uc-scrolltop-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.uc-scrolltop-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.uc-scrolltop:hover .uc-scrolltop-arrow {
  color: #fff;
  transform: translateY(-2px);
}
.uc-scrolltop-outline,
.uc-scrolltop-rim {
  fill: none;
  stroke: var(--uc-gray-200);
  stroke-width: 2;
}
.uc-scrolltop-handle {
  fill: none;
  stroke: var(--uc-gray-200);
  stroke-width: 2;
  stroke-linecap: round;
}
.uc-scrolltop-fill {
  fill: url(#uc-scrolltop-gradient);
  transition:
    y 0.15s linear,
    height 0.15s linear;
}
.uc-scrolltop-flame {
  fill: var(--uc-orange-light);
  opacity: 0;
  transform-origin: 25px 19px;
  transition: opacity 0.2s ease;
  animation: uc-flame-flicker 1.3s ease-in-out infinite;
}
.uc-scrolltop.is-full .uc-scrolltop-flame {
  opacity: 1;
}
@keyframes uc-flame-flicker {
  0%,
  100% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(0.94, 1.12);
  }
}
.uc-scrolltop.is-pouring .uc-scrolltop-svg {
  animation: uc-pour-tilt 0.7s ease;
}
@keyframes uc-pour-tilt {
  0% {
    transform: rotate(0deg);
  }
  35% {
    transform: rotate(-35deg);
  }
  70% {
    transform: rotate(-35deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@media (max-width: 991px) {
  .uc-scrolltop {
    right: 16px;
    bottom: 16px;
  }
}

/* =========================================================================
   Mobile nav
   ========================================================================= */
@media (max-width: 991px) {
  #uc-mobile-toggle {
    display: block;
  }
  .uc-topbar-quicklinks {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .uc-topbar-home {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
  }
  .uc-topbar-home:hover {
    color: var(--uc-orange-light);
  }
  .uc-topbar-cta {
    padding: 8px 16px;
    font-size: 11px;
  }
  #uc-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 90px 0 30px;
    overflow-y: auto;
    z-index: 1100;
  }
  #uc-nav.open {
    transform: translateX(0);
  }
  #uc-nav > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  /* #uc-nav > ul > li is a flex row (for the desktop dropdown-trigger
     layout); once its sub-menu becomes position:static in the off-canvas
     drawer, that row layout pushes it out to the right instead of
     stacking it below the link. Force it to stack. */
  #uc-nav > ul > li {
    flex-direction: column;
    align-items: stretch;
  }
  #uc-nav > ul > li.uc-drawer-only {
    display: flex;
  }
  #uc-nav > ul > li > a,
  #uc-nav > ul > li:hover > a,
  #uc-nav > ul > li.active > a {
    padding: 16px 28px;
    color: var(--uc-black);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
  }
  #uc-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--uc-gray-100);
    display: none !important;
    padding: 4px 0;
  }
  /* Indent sub-menu items further than the 28px top-level items get, so
     nesting is visually obvious in the drawer (each further level steps
     in another 16px). */
  #uc-nav .sub-menu a {
    padding-left: 40px;
  }
  #uc-nav .sub-menu .sub-menu a {
    padding-left: 56px;
  }
  /* A descendant-combinator rule here would reveal every nested sub-menu
     (e.g. Iron Casting's Gray/Ductile list) as soon as its ancestor
     (Services) opens. Require each level to be opened independently: a
     sub-menu only shows once its own direct parent li is open. */
  #uc-nav > ul li.open > .sub-menu {
    display: block !important;
  }
  .uc-header-cta {
    margin: 18px 28px 0;
  }
  .uc-castrite-drawer-link img {
    height: 46px !important;
  }
  #uc-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1050;
  }
  #uc-nav-backdrop.open {
    display: block;
  }
  .uc-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    left: 20px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--uc-gray-100);
    color: var(--uc-black);
    font-size: 15px;
    cursor: pointer;
    z-index: 10;
  }
  .uc-nav-close:hover {
    background: var(--uc-gray-200);
    color: var(--uc-orange-deep);
  }

  #uc-header .uc-header-row {
    min-height: 76px;
  }
  #uc-hero h1 {
    font-size: 45px;
  }
  #uc-hero h1 .uc-hero-subtitle {
    font-size: 16px;
    margin-top: 8px;
  }
  #uc-hero .uc-hero-sub {
    font-size: 16px;
  }
}
