/* Apex Tactical & Logistics Solutions pages (apex-solutions.html, apex-careers.html).
   Field-services look: people-first photography, black and warm-paper sections in
   rhythm, bold sans type, and the crest's gold for actions. Motion follows the
   photography (slow zoom, reveal wipes, light parallax) and stops for reduced motion. */

.page-apex {
  --apex-black: #0a0a0b;
  --apex-ink: #141416;
  --apex-paper: #f3f0e9;
  --apex-gold: #d4ad4f;
  --apex-gold-deep: #8a6a1c;
  --apex-red: #d9382b;
  --apex-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --fg: #f5f3ee;
  --fg-muted: #b5b1a8;
  --fg-faint: #8b877f;
  --rule: rgba(245, 243, 238, 0.14);
  --kicker: var(--apex-gold);
  color-scheme: dark;
  background: var(--apex-black);
  color: var(--fg);
}

.ax-light {
  --fg: #121214;
  --fg-muted: #4d4a44;
  --fg-faint: #6e6a62;
  --rule: rgba(18, 18, 20, 0.14);
  --kicker: var(--apex-gold-deep);
  color-scheme: light;
  background: var(--apex-paper);
  color: var(--fg);
}

.ax-dark {
  background: var(--apex-black);
}

.page-apex main p,
.page-apex main li,
.page-apex main dd {
  color: var(--fg-muted);
}

.page-apex main h1,
.page-apex main h2,
.page-apex main h3,
.page-apex main dt,
.page-apex main strong {
  color: var(--fg);
}

.page-apex main a {
  color: var(--fg);
  text-decoration-color: var(--fg-faint);
}

.page-apex main a:hover {
  text-decoration-color: var(--apex-gold);
}

.page-apex :focus-visible {
  outline: 2px solid var(--apex-gold);
  outline-offset: 3px;
}

.ax-light :focus-visible {
  outline-color: var(--apex-gold-deep);
}

/* Audience bar: clients vs. applicants */
.ax-util {
  background: #000;
  border-bottom: 1px solid rgba(245, 243, 238, 0.12);
  font-size: 0.8125rem;
}

.ax-util-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 2.5rem;
}

.ax-util-brand {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b5b1a8;
}

.ax-util-nav {
  display: flex;
  align-self: stretch;
}

.ax-util-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 var(--s2);
  color: #b5b1a8;
  text-decoration: none;
  border-left: 1px solid rgba(245, 243, 238, 0.12);
}

.ax-util-nav a:last-child {
  border-right: 1px solid rgba(245, 243, 238, 0.12);
}

.ax-util-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.ax-util-nav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--apex-gold);
}

.ax-util-hint {
  color: var(--apex-gold);
}

/* Header and footer */
.page-apex .site-header {
  background: rgba(10, 10, 11, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f5f3ee;
  border-bottom: 1px solid rgba(245, 243, 238, 0.12);
}

.page-apex .site-header a,
.page-apex .site-header button {
  color: inherit;
}

.page-apex .site-header nav a[aria-current="page"] {
  text-decoration-color: var(--apex-gold);
}

.page-apex .site-header .brand-global {
  color: var(--apex-gold);
}

.page-apex .services-menu {
  background: var(--apex-ink);
  border: 1px solid rgba(245, 243, 238, 0.12);
  box-shadow: none;
}

.page-apex .services-menu a:hover {
  background: #1d1d20;
}

.page-apex .menu-toggle {
  border-color: rgba(245, 243, 238, 0.25);
}

.page-apex .header-action .button {
  background: var(--apex-gold);
  border-color: var(--apex-gold);
  color: #000;
  font-weight: 700;
}

.page-apex .header-action .button:hover {
  background: #fff;
  border-color: #fff;
}

.page-apex .site-footer {
  background: var(--apex-black);
  border-top: 1px solid rgba(245, 243, 238, 0.12);
}

/* Type */
.ax-display {
  font-size: clamp(2.75rem, 6.6vw, 6.25rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.ax-h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
  text-wrap: balance;
}

.ax-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--s3);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kicker) !important;
}

.ax-kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
}

.ax-body {
  max-width: 34rem;
  margin-top: var(--s3);
  font-size: 1.125rem;
  line-height: 1.6;
}

.ax-lead {
  max-width: 36rem;
  margin-top: var(--s4);
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  line-height: 1.5;
  color: #dedad2 !important;
}

.ax-note {
  margin-top: var(--s3);
  font-size: 0.8125rem;
  color: var(--fg-faint) !important;
}

/* Buttons */
.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.75rem;
  border: 2px solid var(--apex-gold);
  font: 700 0.875rem/1.2 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}

.ax-btn-gold,
.page-apex main a.ax-btn-gold {
  background: var(--apex-gold);
  color: #000;
}

.ax-btn-gold:hover {
  background: #fff;
  border-color: #fff;
  text-decoration: none;
}

.ax-light .ax-btn-gold:hover,
.ax-quote-card .ax-btn-gold:hover,
.apex-form .ax-btn-gold:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.ax-btn-line,
.page-apex main a.ax-btn-line {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.ax-btn-line:hover {
  background: #fff;
  border-color: #fff;
  color: #000 !important;
  text-decoration: none;
}

.ax-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s5);
}

/* Hero */
.ax-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(calc(100svh - 7rem), 58rem);
  overflow: hidden;
  background: #000;
}

.ax-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.ax-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 40%;
  filter: contrast(1.1) saturate(0.6) brightness(0.9);
  transform-origin: 66% 50%;
  animation: ax-zoom 28s ease-in-out infinite alternate;
}

.ax-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.94) 0%, rgba(10, 10, 11, 0.72) 42%, rgba(10, 10, 11, 0.1) 75%),
    linear-gradient(0deg, rgba(10, 10, 11, 1) 0%, rgba(10, 10, 11, 0) 38%);
}

.ax-rec-tag {
  position: absolute;
  top: var(--s3);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0.6rem;
  background: rgba(0, 0, 0, 0.55);
  font: 600 0.75rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  color: #fff !important;
  font-variant-numeric: tabular-nums;
}

.ax-rec-tag i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--apex-red);
  animation: ax-blink 1.2s steps(1) infinite;
}

.ax-hero-inner {
  padding: var(--s12) 0 var(--s6);
}

.ax-crest {
  display: block;
  width: clamp(9rem, 14vw, 12.5rem);
  height: auto;
  margin-bottom: var(--s3);
  animation: ax-rise 900ms var(--apex-ease) both;
}

.ax-in {
  animation: ax-rise 900ms var(--apex-ease) both;
}

.ax-hero-inner .ax-display,
.ax-page-head .ax-display { animation-delay: 120ms; }
.ax-hero-inner .ax-lead,
.ax-page-head .ax-lead { animation-delay: 240ms; }
.ax-hero-inner .ax-actions,
.ax-page-head .ax-actions { animation-delay: 360ms; }

.ax-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin: 0 auto;
  padding: var(--s3) 0 calc(var(--s8) + var(--s2));
  list-style: none;
  border-top: 1px solid rgba(245, 243, 238, 0.18);
  font-size: 0.875rem;
  font-weight: 600;
  animation: ax-rise 900ms 480ms var(--apex-ease) both;
}

.page-apex main .ax-hero-proof li {
  color: #dedad2;
}

.ax-hero-proof span {
  margin-right: 0.35rem;
  color: var(--apex-gold);
}

/* Quote card */
.ax-quote {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--s8) * -1);
  background: linear-gradient(180deg, transparent 50%, var(--apex-paper) 50%);
}

.ax-quote-card {
  --fg: #121214;
  --fg-muted: #4d4a44;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: var(--s3);
  padding: var(--s4);
  background: var(--apex-paper);
  color: #121214;
  color-scheme: light;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  border-top: 4px solid var(--apex-gold);
}

.ax-quote-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ax-quote-head p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.ax-field {
  min-width: 0;
}

.ax-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d4a44;
}

.ax-field select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 0.75rem;
  background: #fff;
  color: #121214;
  border: 1px solid rgba(18, 18, 20, 0.25);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.ax-field select:hover {
  border-color: #121214;
}

.ax-quote-card :focus-visible {
  outline-color: var(--apex-gold-deep);
}

/* Sections */
.ax-section {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.ax-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ax-head-split,
.ax-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--s8);
  align-items: end;
}

.ax-split {
  align-items: start;
}

.ax-head-split > p {
  max-width: 32rem;
  font-size: 1.125rem;
}

/* People */
.ax-people {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s10);
  align-items: center;
}

.ax-people-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.ax-people-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.ax-commit {
  margin: var(--s5) 0 0;
  padding: 0;
  list-style: none;
}

.ax-commit li {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 2px solid var(--fg);
}

.ax-commit strong {
  font-size: 1.125rem;
  font-weight: 700;
}

/* Services */
.ax-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s2);
}

.page-apex main .ax-service {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--apex-ink);
  text-decoration: none;
}

.ax-service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.05) brightness(0.8);
  transform: scale(1.02);
  transition: filter 600ms var(--apex-ease), transform 1100ms var(--apex-ease);
}

.ax-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 11, 0.95) 8%, rgba(10, 10, 11, 0.1) 60%);
}

.ax-service-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
  padding: var(--s3);
}

.ax-service strong {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ax-service strong::after {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  margin-top: 0.75rem;
  background: var(--apex-gold);
  transition: width 500ms var(--apex-ease);
}

.ax-service-body > span {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #cfcbc2;
}

.ax-service:hover img,
.ax-service:focus-visible img {
  filter: grayscale(0) contrast(1.05) brightness(0.9);
  transform: scale(1.08);
}

.ax-service:hover strong::after,
.ax-service:focus-visible strong::after {
  width: 100%;
}

/* Gold band */
.ax-band {
  overflow: hidden;
  background: var(--apex-gold);
}

.ax-band-track {
  display: flex;
  width: max-content;
  animation: ax-marquee 36s linear infinite;
}

.ax-band span {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding: 1.1rem 2.25rem 1.1rem 0;
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
}

.ax-band span::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  background: #000;
  transform: rotate(45deg);
}

/* Transport */
.ax-transport-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 80vh, 46rem);
  overflow: hidden;
}

.ax-transport-hero img,
.ax-careers-band > img {
  position: absolute;
  top: -12%;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

.ax-transport-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0.35) 60%, rgba(10, 10, 11, 0.15) 100%);
}

.ax-transport-copy {
  padding: var(--s10) 0 var(--s8);
}

.ax-transport-copy .ax-h2 {
  max-width: 20ch;
}

.page-apex main .ax-transport-copy .ax-body {
  color: #dedad2;
}

.ax-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ax-steps img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 65%;
  margin-bottom: var(--s3);
}

.ax-steps span {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--apex-gold-deep);
}

.ax-steps h3 {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ax-steps p {
  margin-top: var(--s1);
}

/* Industries */
.ax-split .ax-btn {
  margin-top: var(--s5);
}

.ax-industries {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-apex main .ax-industries li {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  transition: color 300ms ease-out, padding-left 400ms var(--apex-ease);
}

.page-apex main .ax-industries li:last-child {
  border-bottom: 1px solid var(--rule);
}

.page-apex main .ax-industries li:hover {
  padding-left: var(--s2);
  color: var(--apex-gold);
}

.ax-industries span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--apex-gold);
}

/* Why Apex */
.ax-why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}

.ax-why article {
  padding-top: var(--s3);
  border-top: 4px solid var(--fg);
}

.ax-why h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ax-why p {
  margin-top: var(--s2);
}

.ax-why-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
}

.ax-reg {
  margin: var(--s3) 0 0;
}

.ax-reg > div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--s2);
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule);
}

.ax-reg dt {
  padding-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint) !important;
}

.ax-reg dd {
  margin: 0;
  font-weight: 600;
  color: var(--fg) !important;
  font-variant-numeric: tabular-nums;
}

/* Careers band */
.ax-careers-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.ax-careers-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 11, 0.94) 0%, rgba(10, 10, 11, 0.75) 50%, rgba(10, 10, 11, 0.35) 100%);
}

.ax-careers-inner .ax-h2 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 800;
  text-transform: uppercase;
}

.page-apex main .ax-careers-inner .ax-body {
  color: #dedad2;
}

/* Contact and application forms */
.ax-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--s8);
  align-items: start;
}

.apex-details {
  margin: var(--s5) 0 0;
}

.apex-details > div {
  padding: var(--s2) 0;
  border-top: 1px solid var(--rule);
}

.apex-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint) !important;
}

.apex-details dd {
  margin: 0.25rem 0 0;
  color: var(--fg) !important;
}

.apex-form {
  --fg: #121214;
  --fg-muted: #4d4a44;
  --fg-faint: #6e6a62;
  padding: var(--s4);
  background: var(--apex-paper);
  border-top: 4px solid var(--apex-gold);
  color-scheme: light;
}

.apex-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #121214;
}

.apex-form input,
.apex-form select,
.apex-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: #121214;
  border: 1px solid rgba(18, 18, 20, 0.25);
  border-radius: var(--radius);
}

.apex-form textarea {
  resize: vertical;
}

.apex-form input:focus-visible,
.apex-form select:focus-visible,
.apex-form textarea:focus-visible {
  outline-color: var(--apex-gold-deep);
  border-color: #121214;
}

.apex-form .small {
  margin: var(--s3) 0;
}

.apex-form #form-description,
.apex-form #apply-description {
  margin: 0 0 var(--s4);
}

#form-status,
#apply-status {
  margin-top: var(--s2);
  font-weight: 600;
  color: #121214 !important;
}

/* Careers page */
.ax-page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
}

.ax-page-head-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: contrast(1.05) saturate(0.6) brightness(0.8);
  animation: ax-zoom 28s ease-in-out infinite alternate;
}

.ax-page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0.75) 55%, rgba(10, 10, 11, 0.3) 100%);
}

.ax-page-head .ax-crest {
  width: clamp(7rem, 11vw, 9.5rem);
}

.ax-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}

.ax-role {
  padding-top: var(--s3);
  border-top: 4px solid var(--fg);
}

.ax-role h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ax-role p {
  margin-top: var(--s1);
}

.ax-role ul {
  margin: var(--s2) 0 0;
  padding-left: 1rem;
  font-size: var(--small);
}

/* Scroll reveal (enabled by apex.js) */
.ax-ready .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 900ms var(--apex-ease), transform 900ms var(--apex-ease);
}

.ax-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

.ax-ready .ax-people-media.reveal,
.ax-ready .ax-steps .reveal img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1200ms var(--apex-ease), opacity 900ms var(--apex-ease), transform 900ms var(--apex-ease);
}

.ax-ready .ax-people-media.reveal.is-in,
.ax-ready .ax-steps .reveal.is-in img {
  clip-path: inset(0 0 0 0);
}

/* Keyframes */
@keyframes ax-rise {
  from { opacity: 0; transform: translateY(1.75rem); }
  to { opacity: 1; transform: none; }
}

@keyframes ax-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}

@keyframes ax-blink {
  50% { opacity: 0.2; }
}

@keyframes ax-marquee {
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 75rem) {
  .ax-quote-card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ax-quote-head { grid-column: 1 / -1; }
  .ax-quote-card > .ax-btn { grid-column: 1 / -1; }
  .ax-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-apex main .ax-service { aspect-ratio: 4 / 3; }
  .ax-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); }
  .ax-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 62rem) {
  .ax-head-split,
  .ax-split,
  .ax-people,
  .ax-contact-grid,
  .ax-why {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  .ax-hero::before {
    background: linear-gradient(0deg, rgba(10, 10, 11, 1) 0%, rgba(10, 10, 11, 0.75) 55%, rgba(10, 10, 11, 0.35) 100%);
  }

  .ax-people-media { aspect-ratio: 16 / 10; }
  .ax-page-head::before { background: rgba(10, 10, 11, 0.82); }
}

@media (max-width: 40rem) {
  .ax-util-brand { display: none; }
  .ax-util-inner { justify-content: flex-end; }
  .ax-util-hint { display: none; }
  .ax-hero { min-height: calc(100svh - 7rem); }
  .ax-hero-inner { padding: var(--s10) 0 var(--s4); }
  .ax-rec-tag { top: var(--s2); }
  .ax-hero-proof { gap: 0.35rem 1.25rem; font-size: 0.8125rem; }
  .ax-actions .ax-btn { flex: 1 1 100%; }
  .ax-quote { margin-top: calc(var(--s6) * -1); }
  .ax-quote-card { grid-template-columns: 1fr; padding: var(--s3); }
  .ax-services,
  .ax-steps,
  .ax-roles { grid-template-columns: 1fr; }
  .page-apex main .ax-service { aspect-ratio: 16 / 11; }
  .ax-commit li { grid-template-columns: 1fr; gap: 0.35rem; }
  .apex-form { padding: var(--s3); }
}

@media (prefers-reduced-motion: reduce) {
  .ax-hero-img,
  .ax-page-head-media,
  .ax-crest,
  .ax-in,
  .ax-hero-proof,
  .ax-rec-tag i,
  .ax-band-track {
    animation: none;
  }

  .ax-band-track { width: auto; flex-wrap: wrap; }
  .ax-band-track span:nth-child(n + 6) { display: none; }

  .ax-btn,
  .ax-service img,
  .ax-service strong::after,
  .page-apex main .ax-industries li,
  .ax-ready .reveal,
  .ax-ready .ax-people-media.reveal,
  .ax-ready .ax-steps .reveal img {
    transition: none;
  }
}
