/* ==========================================================================
   Unified Automation — main stylesheet
   Fonts: Oswald (headings) + Inter (body)
   ========================================================================== */

:root {
  --ua-yellow: #FFC20E;
  --ua-yellow-dark: #E0A800;
  --ua-yellow-soft: #FFF3C4;
  --ua-black: #0B0B0B;
  --ua-charcoal: #161616;
  --ua-graphite: #262626;
  --ua-steel: #5B6470;
  --ua-line: #E3E6EA;
  --ua-light: #F4F5F7;
  --ua-white: #FFFFFF;
  --ua-text: #15181C;

  --font-head: "Hubot Sans", "Arial Narrow", Impact, sans-serif;
  --head-stretch: 80%; /* Hubot Sans width axis (75%-125%); narrower keeps the condensed feel of the line card */
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 11, 11, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 11, 11, 0.16);
  --header-h: 76px;
  --header-top: 120px; /* height of the unscrolled header; body is padded by this since the header is fixed */
  --swoosh-h: clamp(140px, 14vw, 280px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@font-face {
  font-family: "Hubot Sans";
  src: url("../fonts/Hubot-Sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face { font-family: "Public Sans"; src: url("../fonts/PublicSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/PublicSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/PublicSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; overflow-x: clip; overflow-anchor: none; }
body {
  margin: 0;
  overflow-x: clip;
  overflow-anchor: none;
  padding-top: var(--header-top);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ua-text);
  background: var(--ua-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head); font-stretch: var(--head-stretch);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 0.6em;
  color: var(--ua-black);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 860px; }

.icon {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-head); font-stretch: var(--head-stretch);
  font-size: 1rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2.25; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--ua-yellow); outline-offset: 3px; }

.btn--primary { background: var(--ua-yellow); color: var(--ua-black); border-color: var(--ua-yellow); }
.btn--primary:hover { background: var(--ua-white); border-color: var(--ua-black); }
/* On dark surfaces a black hover border vanishes into the background and the button looks like it shrinks; keep the edge white there */
.section--dark .btn--primary:hover, .section--black .btn--primary:hover, .aside-box:not(.aside-box--light) .btn--primary:hover,
.cta-band--dark .btn--primary:hover, .hero .btn--primary:hover, .page-hero .btn--primary:hover, .tiles .btn--primary:hover { border-color: var(--ua-white); }

.btn--dark { background: var(--ua-black); color: var(--ua-white); border-color: var(--ua-black); }
.btn--dark:hover { background: var(--ua-graphite); border-color: var(--ua-graphite); }

.btn--outline { background: transparent; color: var(--ua-black); border-color: var(--ua-black); }
.btn--outline:hover { background: var(--ua-black); color: var(--ua-white); }

.btn--outline-light { background: transparent; color: var(--ua-white); border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { border-color: var(--ua-yellow); color: var(--ua-yellow); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ua-black);
}
.link-arrow .icon { width: 18px; height: 18px; stroke-width: 2.25; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--ua-yellow-dark); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header / navigation (white bar, large logo that shrinks on scroll)
   -------------------------------------------------------------------------- */
.site-header {
  /* Fixed, not sticky: the shrink on scroll then repaints only the header instead of reflowing the whole page */
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--ua-white);
  border-bottom: 1px solid var(--ua-line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 11, 11, 0.10); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-top);
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: var(--header-h); }
.site-header__logo img { height: 100px; width: auto; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .site-header__logo img { height: 60px; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 1rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ua-black);
  border-radius: var(--radius);
  background: none; border: 0;
  transition: color 0.2s var(--ease);
}
.nav__link .icon { width: 16px; height: 16px; stroke-width: 2.25; transition: transform 0.2s var(--ease); }
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__item.is-active > .nav__link { color: var(--ua-yellow-dark); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__cta { margin-left: 0.75rem; }

.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 300px;
  background: var(--ua-white);
  border: 1px solid var(--ua-line);
  border-top: 4px solid var(--ua-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__dropdown::before {
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav__item.is-open > .nav__dropdown,
.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block; padding: 0.55rem 0.8rem;
  font-size: 0.95rem; color: var(--ua-text); border-radius: 4px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav__dropdown a:hover { background: var(--ua-yellow-soft); color: var(--ua-black); }
.nav__dropdown a.is-all {
  margin-top: 0.3rem; border-top: 1px solid var(--ua-line);
  font-family: var(--font-head); font-stretch: var(--head-stretch); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
}

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 0; color: var(--ua-black); border-radius: var(--radius);
}
.nav-toggle .icon { width: 28px; height: 28px; stroke-width: 2; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 960px) {
  :root { --header-h: 88px; --header-top: 88px; }
  .site-header__inner, .site-header.is-scrolled .site-header__inner { height: var(--header-h); }
  .site-header__logo img, .site-header.is-scrolled .site-header__logo img { height: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ua-white);
    border-top: 1px solid var(--ua-line);
    padding: 1rem var(--gutter) 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; transition: transform 0.3s var(--ease), visibility 0s; }
  .nav__link { width: 100%; justify-content: space-between; padding: 0.9rem 0.5rem; font-size: 1.15rem; border-bottom: 1px solid var(--ua-line); border-radius: 0; }
  .nav__dropdown {
    position: static; min-width: 0; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 0.5rem 0.5rem;
    display: none;
  }
  .nav__item.is-open > .nav__dropdown { display: block; }
  .nav__item:hover > .nav__dropdown:not(.force) { display: none; }
  .nav__item.is-open:hover > .nav__dropdown { display: block; }
  .nav__dropdown a { color: var(--ua-text); padding: 0.6rem 0.5rem; }
  .nav__dropdown a:hover { background: var(--ua-yellow-soft); color: var(--ua-black); }
  .nav__dropdown a.is-all { color: var(--ua-yellow-dark); }
  .nav__cta { margin: 1.25rem 0 0; width: 100%; }
  body.nav-locked { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Sections & headings
   -------------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--light { background: var(--ua-light); }
.section--dark { background: var(--ua-charcoal); color: rgba(255,255,255,0.82); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ua-white); }
.section--black { background: var(--ua-black); color: rgba(255,255,255,0.82); }
.section--black h2, .section--black h3 { color: var(--ua-white); }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--ua-steel); }
.section--dark .section-head p, .section--black .section-head p { color: rgba(255,255,255,0.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 0.85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ua-yellow-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--ua-yellow); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--ua-yellow); }
.section--dark .eyebrow, .section--black .eyebrow { color: var(--ua-yellow); }

.bar { display: block; width: 64px; height: 4px; background: var(--ua-yellow); margin: 0 0 1.5rem; }
.section-head--center .bar { margin-left: auto; margin-right: auto; }

.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ua-steel); }
.section--dark .lead, .section--black .lead { color: rgba(255,255,255,0.78); }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; z-index: 1; overflow: hidden;
  background: transparent; color: var(--ua-white);
  padding: clamp(4rem, 10vw, 8rem) 0 calc(clamp(3.5rem, 8vw, 6.5rem) + var(--swoosh-h));
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: var(--ua-black);
  /* Clip the footage to the sweep curve so the tiles below show through under the arch */
  -webkit-mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 230' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V40C1000 150 400 150 0 60Z'/%3E%3C/svg%3E");
  mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 230' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V40C1000 150 400 150 0 60Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% calc(100% - var(--swoosh-h) + 1px), 100% var(--swoosh-h);
  mask-size: 100% calc(100% - var(--swoosh-h) + 1px), 100% var(--swoosh-h);
  -webkit-mask-position: left top, left bottom;
  mask-position: left top, left bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 35% 50%;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__video.is-ready { opacity: 1; }
.hero__bg::after {
  /* dark wash so text stays legible over the footage, plus the yellow glow */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 45% 70% at 85% 35%, rgba(255,194,14,0.22) 0%, rgba(255,194,14,0.06) 45%, transparent 75%),
    linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.35) 50%, rgba(11,11,11,0.7) 100%),
    linear-gradient(90deg, rgba(11,11,11,0.9) 0%, rgba(11,11,11,0.7) 45%, rgba(11,11,11,0.45) 100%);
}
.hero__bg::before {
  /* engineering grid */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__inner > div { max-width: 720px; }
.hero__swoosh {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2;
  display: block; width: 100%; height: var(--swoosh-h);
}

/* Service tiles: full-bleed 3x3 photo grid tucked under the hero sweep */
.tiles {
  position: relative; z-index: 0;
  /* Grid spans ~90% of the viewport on desktop, never narrower than 960px and never wider than the site container */
  --tiles-w: clamp(960px, 90vw, calc(var(--container) - 2 * var(--gutter)));
  --tiles-gap: 1.5rem;
  display: grid; gap: var(--tiles-gap); justify-content: center;
  grid-template-columns: repeat(3, calc((var(--tiles-w) - 2 * var(--tiles-gap)) / 3));
  margin-top: calc(-1 * var(--swoosh-h, 200px));
  /* Bottom gap matches the gap between the black band and the top of the section */
  padding: 0 var(--gutter) calc(var(--swoosh-h) * 14 / 230);
  /* Bottom gap matches the gap between the black band and the top of the grid (14/230 of the arch height) */
  /* Engineering grid, like the page heroes */
  background-color: var(--ua-black);
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  /* Top edge follows the sweep: a curve a few px beneath the black band, white showing in the gap */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 230' preserveAspectRatio='none'%3E%3Cpath d='M-10 138C420 254 1060 246 1450 140V230H-10Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 230' preserveAspectRatio='none'%3E%3Cpath d='M-10 138C420 254 1060 246 1450 140V230H-10Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
  -webkit-mask-size: 100% var(--swoosh-h), 100% calc(100% - var(--swoosh-h) + 1px);
  mask-size: 100% var(--swoosh-h), 100% calc(100% - var(--swoosh-h) + 1px);
  -webkit-mask-position: left top, left bottom;
  mask-position: left top, left bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  min-width: 0; justify-self: stretch; /* aspect-ratio items otherwise size to content */
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 3; min-height: 340px;
  padding: 2rem;
  color: var(--ua-white);
  background: var(--ua-graphite);
}
.tile__img {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.7) 45%, rgba(11,11,11,0.96) 100%);
  box-shadow: inset 0 0 0 0 var(--ua-yellow);
  transition: box-shadow 0.3s var(--ease);
}
.tile::before {
  /* Diagonal brand-yellow sweep, fades in on hover above the dark wash */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,194,14,0.55) 0%, rgba(255,194,14,0.22) 45%, rgba(255,194,14,0) 75%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.tile:hover::before { opacity: 1; }
.tile:hover .tile__img { transform: scale(1.06); }
.tile:hover::after { box-shadow: inset 0 -5px 0 0 var(--ua-yellow); }
.tile__num {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.2em;
  color: var(--ua-yellow);
}
.tile__num::before { content: ""; width: 24px; height: 3px; background: var(--ua-yellow); }
.tile h3 { color: var(--ua-white); font-size: 1.4rem; margin-bottom: 0.4rem; text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.tile p { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.5; margin-bottom: 1rem; max-width: 38ch; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.tile .link-arrow { color: var(--ua-yellow); font-size: 0.9rem; }
.tile:hover .link-arrow .icon { transform: translateX(4px); }
.tile:focus-visible { outline: 3px solid var(--ua-yellow); outline-offset: -3px; }
/* First row sits under the sweep: pad it so its visible area matches the other rows */
/* Heading panel: full-width first row, revealed beneath the arch */
.tiles__head {
  grid-column: 1 / -1;
  position: relative;
  color: rgba(255,255,255,0.78); text-align: center;
  /* Soft black glow behind the heading so it lifts off the grid */
  background: radial-gradient(ellipse 60% 85% at 50% 60%, var(--ua-black) 0%, var(--ua-black) 35%, rgba(11,11,11,0) 100%);
  padding: calc(var(--swoosh-h) + 2.5rem) 2rem 2.75rem;
}
.tiles__head .eyebrow { color: var(--ua-yellow); }
.tiles__head .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--ua-yellow); }
.tiles__head h2 { color: var(--ua-white); margin-bottom: 0.6rem; }
.tiles__head p { max-width: 720px; margin: 0 auto; font-size: 1.1rem; }
@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 300px; padding: 1.5rem; }
  .tiles__head { padding: calc(var(--swoosh-h) + 2rem) 1.5rem 2.5rem; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 10; min-height: 260px; }
  .tiles__head { padding: calc(var(--swoosh-h) + 2rem) 1.25rem 2.25rem; }
}

@media (max-width: 700px) {
  :root { --swoosh-h: 110px; }
}
.hero h1 { color: var(--ua-white); margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--ua-yellow); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__tagline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 0.9rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ua-yellow);
}
.hero__tagline::before { content: ""; width: 36px; height: 3px; background: var(--ua-yellow); }




/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--ua-black); color: var(--ua-white);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 80% 50%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000 10%, transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; right: -10%; top: -60%;
  width: 55%; height: 220%;
  background: radial-gradient(ellipse at center, rgba(255,194,14,0.2) 0%, rgba(255,194,14,0.05) 35%, transparent 65%);
  transform: rotate(-18deg); pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
/* Photo hero (solution pages): full-bleed image under a dark wash; grid + glow stay on top */
.page-hero::before, .page-hero::after { z-index: 1; }
.page-hero--photo .page-hero__inner { z-index: 2; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,11,0.6) 0%, rgba(11,11,11,0.5) 50%, rgba(11,11,11,0.8) 100%),
    linear-gradient(90deg, rgba(11,11,11,0.92) 0%, rgba(11,11,11,0.7) 50%, rgba(11,11,11,0.45) 100%);
}
.page-hero h1 { color: var(--ua-white); font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.2rem; color: rgba(255,255,255,0.78); margin: 0; }
.page-hero .eyebrow { color: var(--ua-yellow); }
.page-hero__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 1.25rem;
  background: var(--ua-yellow); color: var(--ua-black); border-radius: var(--radius);
}
.page-hero__icon .icon { width: 34px; height: 34px; stroke-width: 1.5; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a:hover { color: var(--ua-yellow); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: rgba(255,255,255,0.3); }
.breadcrumb li { display: inline-flex; gap: 0.5rem; }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ua-white);
  border: 1px solid var(--ua-line); border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 4px;
  background: var(--ua-yellow); border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 1.1rem;
  background: var(--ua-black); color: var(--ua-yellow); border-radius: var(--radius);
}
.card__icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ua-steel); font-size: 0.97rem; }
.card ul { margin: 0.5rem 0 1rem; }
.card li { position: relative; padding-left: 1.1rem; font-size: 0.95rem; color: var(--ua-text); margin-bottom: 0.3rem; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; background: var(--ua-yellow); }
.card .link-arrow { margin-top: auto; padding-top: 0.5rem; font-size: 0.9rem; }
a.card { color: inherit; }

.section--dark .card, .section--black .card { background: var(--ua-graphite); border-color: rgba(255,255,255,0.08); }
.section--dark .card h3, .section--black .card h3 { color: var(--ua-white); }
.section--dark .card p, .section--black .card p { color: rgba(255,255,255,0.7); }
.section--dark .card li, .section--black .card li { color: rgba(255,255,255,0.85); }
.section--dark .card__icon, .section--black .card__icon { background: var(--ua-yellow); color: var(--ua-black); }
.section--dark .card .link-arrow, .section--black .card .link-arrow { color: var(--ua-yellow); }
.section--dark .card:hover, .section--black .card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* Compact feature row (icon left, text right) */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--ua-yellow); color: var(--ua-black); border-radius: var(--radius);
}
.feature__icon .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.feature h3, .feature h4 { margin-bottom: 0.3rem; font-size: 1.15rem; }
.feature p { color: var(--ua-steel); font-size: 0.97rem; }
.section--dark .feature p, .section--black .feature p { color: rgba(255,255,255,0.7); }

/* Checklist */
.checklist { display: grid; gap: 0.9rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.05rem; }
.checklist .icon { width: 24px; height: 24px; color: var(--ua-yellow); stroke-width: 2.5; margin-top: 0.15rem; }
.checklist strong { font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; display: block; }
.checklist span { color: var(--ua-steel); font-size: 0.97rem; }
.section--dark .checklist span, .section--black .checklist span { color: rgba(255,255,255,0.7); }
.section--dark .checklist strong, .section--black .checklist strong { color: var(--ua-white); }
.checklist--2 { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; }
@media (max-width: 700px) { .checklist--2 { grid-template-columns: 1fr; } }

/* Detail list (solution pages "what's included") */
.detail-list { display: grid; gap: 1rem; }
.detail-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem 1.5rem;
  background: var(--ua-white); border: 1px solid var(--ua-line); border-left: 4px solid var(--ua-yellow); border-radius: var(--radius);
}
.detail-list .icon { width: 26px; height: 26px; color: var(--ua-black); stroke-width: 1.6; margin-top: 0.1rem; }
.detail-list strong { display: block; font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.2rem; }
.detail-list p { color: var(--ua-steel); font-size: 0.97rem; margin: 0; }
.detail-list--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .detail-list--2 { grid-template-columns: 1fr; } }

/* Two-column split (text + aside) */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; gap: 2rem; } }
/* Contact cards inside the split (home teaser): the column is never wide enough for two cards plus a full email, so always stack */
.split .grid--2 { grid-template-columns: 1fr; }

.aside-box {
  background: var(--ua-black); color: var(--ua-white);
  padding: 2rem; border-radius: var(--radius);
  border-top: 5px solid var(--ua-yellow);
}
.aside-box h3 { color: var(--ua-white); }
.aside-box p { color: rgba(255,255,255,0.75); }
.aside-box ul { display: grid; gap: 0.6rem; margin: 1rem 0 1.5rem; }
.aside-box li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.97rem; }
.aside-box li .icon { width: 20px; height: 20px; color: var(--ua-yellow); stroke-width: 2.5; margin-top: 0.2rem; }
.aside-box--light { background: var(--ua-light); color: var(--ua-text); }
.aside-box--light h3 { color: var(--ua-black); }
.aside-box--light p { color: var(--ua-steel); }

/* --------------------------------------------------------------------------
   Process / steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem 1rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--ua-yellow); margin-bottom: 0.6rem;
}
.step::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,0.12); }
.step h3, .step h4 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--ua-white); }
.step p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.section--light .step::after, .section:not(.section--dark):not(.section--black) .step::after { background: var(--ua-line); }
.section--light .step h3, .section--light .step h4 { color: var(--ua-black); }
.section--light .step p { color: var(--ua-steel); }

/* Vertical numbered list (how we work on detail pages) */
.timeline { display: grid; gap: 0; counter-reset: tl; }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding-bottom: 1.75rem; }
.timeline li::before {
  counter-increment: tl; content: counter(tl);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ua-black); color: var(--ua-yellow);
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 1.25rem; font-weight: 700;
  position: relative; z-index: 1;
  grid-row: 1 / span 2;
}
.timeline strong, .timeline p { grid-column: 2; }
.timeline li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--ua-line); }
.timeline li:last-child::after { display: none; }
.timeline li:last-child { padding-bottom: 0; }
.timeline strong { display: block; font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; margin: 0.5rem 0 0.2rem; }
.timeline p { color: var(--ua-steel); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; border-left: 1px solid rgba(255,255,255,0.12); }
.stat:first-child { border-left: 0; }
.stat__value { font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--ua-yellow); line-height: 1; margin-bottom: 0.4rem; }
.stat__label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } }

/* Decorative logo-style sweeps in the margins of a section (home applications) */
.section--arcs { position: relative; overflow: hidden; }
.section--arcs > .container { position: relative; z-index: 1; }
.arcs {
  position: absolute; top: 0; bottom: 0; height: 100%; width: 42%; max-width: 720px; z-index: 0; pointer-events: none;
  /* Full strength at the page edge, dissolving toward the content so text keeps its contrast */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 30%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0) 100%);
}
.arcs--left { left: 0; }
.arcs--right { right: 0; transform: scale(-1, -1); }
.arcs__yellow { fill: rgba(255,194,14,0.16); }
.arcs__black { fill: rgba(11,11,11,0.06); }
@media (max-width: 1300px) { .arcs { opacity: 0.7; } }
@media (max-width: 960px) { .arcs { width: 60%; opacity: 0.5; } }
@media (max-width: 600px) { .arcs { opacity: 0.35; } }

/* Footstep trail behind the home process section: white prints along a curve, faded under the content */
.section--steps { position: relative; overflow: hidden; }
.section--steps > .container { position: relative; z-index: 1; }
.footsteps {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  fill: var(--ua-white); opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 8%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.3) 70%, #000 92%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 8%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.3) 70%, #000 92%, #000 100%);
}
@media (max-width: 960px) { .footsteps { opacity: 0.22; } }
/* Walking light-up: each print (index --i of --n) flares in turn, one step every 0.55s, looping along the trail */
.footsteps__trail use {
  opacity: 0.3;
  animation: step-glow calc(var(--n, 20) * 0.42s) linear infinite;
  animation-delay: calc(var(--i, 0) * 0.42s);
}
@keyframes step-glow {
  0% { opacity: 0.3; fill: var(--ua-white); }
  2% { opacity: 1; fill: var(--ua-yellow); }
  10% { opacity: 1; fill: var(--ua-yellow); }
  26% { opacity: 0.3; fill: var(--ua-white); }
  100% { opacity: 0.3; fill: var(--ua-white); }
}
@media (prefers-reduced-motion: reduce) { .footsteps__trail use { animation: none; opacity: 0.6; } }

/* Why Unified Automation (home): photo collage beside the checklist */
.why { align-items: center; }
.why > div:last-child .checklist { margin-top: 1.75rem; }
.why__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.why__photo {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); border-top: 5px solid var(--ua-yellow);
  background: var(--ua-graphite); box-shadow: var(--shadow);
  aspect-ratio: 10 / 9;
}
.why__photo--tall { grid-row: 1 / span 2; aspect-ratio: auto; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.why__photo:hover img { transform: scale(1.04); }
/* Same tall + stacked arrangement at every breakpoint; when the split stacks, the collage spans the full width */
@media (max-width: 900px) { .why__photos { width: 100%; } }

/* --------------------------------------------------------------------------
   Systems grid (home "Applications across the plant floor")
   Icon + title + blurb cells with hairline dividers that fade out at the edges
   -------------------------------------------------------------------------- */
.sysgrid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 5vw, 4rem); }
.sysgrid__item { position: relative; text-align: center; padding: 2.25rem 1.5rem; color: inherit; }
.sysgrid__item::after {
  /* vertical divider on the right */
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px;
  background: linear-gradient(180deg, rgba(11,11,11,0) 0%, rgba(11,11,11,0.18) 25%, rgba(11,11,11,0.18) 75%, rgba(11,11,11,0) 100%);
}
.sysgrid__item::before {
  /* horizontal divider underneath */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(11,11,11,0) 0%, rgba(11,11,11,0.18) 25%, rgba(11,11,11,0.18) 75%, rgba(11,11,11,0) 100%);
}
.sysgrid__item:nth-child(4n)::after { display: none; }
.sysgrid__item:nth-child(n+5)::before { display: none; }
.sysgrid__icon {
  display: block; width: 76px; height: 76px; margin: 0 auto 1.1rem;
  fill: none; stroke: var(--ua-black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.sysgrid__icon .ac { stroke: var(--ua-yellow-dark); }
.sysgrid__icon rect.ac { fill: rgba(255,194,14,0.3); }
.sysgrid__item:hover .sysgrid__icon { transform: translateY(-4px); }
.sysgrid__item h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.sysgrid__item p { color: var(--ua-steel); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.sysgrid__cta { display: flex; align-items: center; justify-content: center; }
.sysgrid__cta .link-arrow { font-size: 1.05rem; }

/* Plain tile grid for "Related solutions" on solution pages (same .tile cards, no hero overlap or mask) */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tile-grid { grid-template-columns: 1fr; } }
/* Line-card bullets inside a photo tile (solutions hub) */
.tile__list { display: grid; gap: 0.25rem; margin: 0 0 1rem; }
.tile__list li { position: relative; padding-left: 0.9rem; font-size: 0.85rem; line-height: 1.4; color: rgba(255,255,255,0.82); }
.tile__list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; background: var(--ua-yellow); }
/* Hub tiles: content starts at the top, "Learn more" pinned to the bottom */
.tile:has(.tile__list) { aspect-ratio: auto; justify-content: flex-start; }
.tile:has(.tile__list) .link-arrow { margin-top: auto; }
.tile-grid:has(.tile__list) { grid-auto-rows: 1fr; } /* every row as tall as the tallest tile */

/* Systems grid used inside a solution page section (no top margin; longer copy).
   Page grids hold any number of items: every cell draws a bottom divider except the last row,
   which the build marks with --last4 / --last2 for the 4- and 2-column layouts. */
.sysgrid--page { margin-top: 0; }
.sysgrid--page .sysgrid__item p { font-size: 0.93rem; }
.sysgrid--page .sysgrid__item::before { display: block; }
.sysgrid--page .sysgrid__item--last4::before { display: none; }
.sysgrid--page .sysgrid__item:last-child::after { display: none; }
@media (max-width: 960px) {
  .sysgrid--page .sysgrid__item--last4::before { display: block; }
  .sysgrid--page .sysgrid__item--last2::before { display: none; }
}
@media (max-width: 560px) {
  .sysgrid--page .sysgrid__item--last2::before { display: block; }
  .sysgrid--page .sysgrid__item:last-child::before { display: none; }
}


/* Two-column variant (home: sits under the intro text, beside the Platforms box) */
.sysgrid--2 { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.sysgrid--2 .sysgrid__item { padding: 1.75rem 1.25rem; }
.sysgrid--2 .sysgrid__item:nth-child(4n)::after { display: block; }
.sysgrid--2 .sysgrid__item:nth-child(2n)::after { display: none; }
.sysgrid--2 .sysgrid__item:nth-child(n+5)::before { display: block; }
.sysgrid--2 .sysgrid__item:nth-child(n+7)::before { display: none; }
@media (max-width: 560px) {
  .sysgrid--2 { grid-template-columns: 1fr; }
  .sysgrid--2 .sysgrid__item:nth-child(n)::after { display: none; }
  .sysgrid--2 .sysgrid__item:nth-child(n)::before { display: block; }
  .sysgrid--2 .sysgrid__item:last-child::before { display: none; }
}
@media (max-width: 960px) {
  .sysgrid { grid-template-columns: repeat(2, 1fr); }
  .sysgrid__item:nth-child(4n)::after { display: block; }
  .sysgrid__item:nth-child(2n)::after { display: none; }
  .sysgrid__item:nth-child(n+5)::before { display: block; }
  .sysgrid__item:nth-child(n+7)::before { display: none; }
}
@media (max-width: 560px) {
  .sysgrid { grid-template-columns: 1fr; }
  .sysgrid__item { padding: 1.75rem 1rem; }
  .sysgrid__item:nth-child(n)::after { display: none; }
  .sysgrid__item:nth-child(n)::before { display: block; }
  .sysgrid__item:last-child::before { display: none; }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--ua-yellow); color: var(--ua-black); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band h2 { margin-bottom: 0.35rem; }
.cta-band p { margin: 0; font-size: 1.1rem; color: rgba(11,11,11,0.75); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn--outline { border-color: var(--ua-black); }

/* Dark CTA variant (emergency support) */
.cta-band--dark { background: var(--ua-black); color: var(--ua-white); position: relative; overflow: hidden; }
.cta-band--dark > .container { position: relative; z-index: 1; }
.cta-band--dark .cta-band__text { max-width: 820px; }
/* Caution-tape stripes in the free space either side of the content, fading out as they approach it */
.cta-band--dark::before, .cta-band--dark::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--ua-yellow) 0 64px, transparent 64px 136px);
  opacity: 0.9;
}
.cta-band--dark::before {
  left: calc(max((100% - var(--container)) / 2, var(--gutter)) + 880px); right: 0;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, #000 180px);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, #000 180px);
}
.cta-band--dark::after {
  left: 0; width: calc((100% - var(--container)) / 2 - 28px);
  -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,0) 0, #000 140px);
  mask-image: linear-gradient(270deg, rgba(0,0,0,0) 0, #000 140px);
}
@media (max-width: 1300px) { .cta-band--dark::after { display: none; } }
@media (max-width: 1180px) { .cta-band--dark::before { display: none; } }
.cta-band--dark h2 { color: var(--ua-white); }
.cta-band--dark p { color: rgba(255,255,255,0.75); }
.cta-band--dark .cta-band__icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 72px; height: 72px; background: var(--ua-yellow); color: var(--ua-black); border-radius: var(--radius);
}
.cta-band--dark .cta-band__icon .icon { width: 40px; height: 40px; stroke-width: 1.5; }
.cta-band__text { display: flex; align-items: center; gap: 1.5rem; }
.cta-band__art { width: 120px; height: auto; flex-shrink: 0; }
@media (max-width: 600px) { .cta-band__art { width: 88px; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.75rem; background: var(--ua-white);
  border: 1px solid var(--ua-line); border-radius: var(--radius); border-top: 5px solid var(--ua-yellow);
}
.contact-card__name { font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 1.4rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.contact-card__role { color: var(--ua-steel); font-size: 0.95rem; margin-bottom: 0.5rem; }
.contact-card a { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; color: var(--ua-text); transition: color 0.15s; }
.contact-card a { overflow-wrap: anywhere; min-width: 0; }
.contact-card a:hover { color: var(--ua-yellow-dark); }
.contact-card a .icon { width: 20px; height: 20px; color: var(--ua-yellow-dark); }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: block; font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.8rem 0.95rem;
  font: inherit; color: var(--ua-text);
  background: var(--ua-white); border: 1px solid #C9CED5; border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ua-yellow-dark); box-shadow: 0 0 0 3px rgba(255,194,14,0.3); }
.form textarea { min-height: 150px; resize: vertical; }
.form__note { font-size: 0.85rem; color: var(--ua-steel); }
.form__status { font-size: 0.95rem; font-weight: 500; min-height: 1.4em; }
.form__status.is-ok { color: #1E7F3E; }
.form__status.is-err { color: #B42318; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ua-black); color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.site-footer__top { padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand img { height: 72px; width: auto; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 320px; }
.site-footer__tagline { font-family: var(--font-head); font-stretch: var(--head-stretch); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85rem; color: var(--ua-yellow); margin-bottom: 0.75rem; }
.site-footer h4 { color: var(--ua-white); font-size: 1rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer h4::after { content: ""; display: block; width: 32px; height: 3px; background: var(--ua-yellow); margin-top: 0.6rem; }
.site-footer ul { display: grid; gap: 0.5rem; }
.site-footer a { transition: color 0.15s; }
.site-footer a:hover { color: var(--ua-yellow); }
.site-footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--ua-yellow); margin-top: 0.2rem; }
.site-footer__contact strong { color: var(--ua-white); display: block; font-weight: 600; }
.site-footer__bottom { padding: 1.25rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.site-footer__uplift { display: inline-block; vertical-align: -3px; margin-left: 0.6rem; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.site-footer__uplift svg { width: 14px; height: auto; fill: currentColor; display: block; }
.site-footer__uplift:hover { color: var(--ua-yellow); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* --------------------------------------------------------------------------
   Utilities & motion
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.accent-line { height: 6px; background: linear-gradient(90deg, var(--ua-yellow) 0%, var(--ua-yellow) 60%, var(--ua-black) 60%); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .link-arrow .icon { transition: none; }
}

/* 404 */
.notfound { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound__code { font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; line-height: 1; color: var(--ua-yellow); }
