/*
 * Xponexus premium UI layer.
 * Progressive enhancement over the active WordPress block theme.
 */

:root {
  --xpo-ink: #07111f;
  --xpo-ink-2: #101c2e;
  --xpo-panel: #ffffff;
  --xpo-soft: #f5f8fb;
  --xpo-line: rgba(15, 32, 54, .11);
  --xpo-line-dark: rgba(255, 255, 255, .14);
  --xpo-teal: #0fb9b2;
  --xpo-cyan: #3ed6ff;
  --xpo-blue: #2457d6;
  --xpo-muted: #607089;
  --xpo-radius: 8px;
  --xpo-radius-lg: 14px;
  --xpo-shadow: 0 18px 50px rgba(5, 18, 34, .12);
  --xpo-shadow-strong: 0 26px 80px rgba(5, 18, 34, .20);
  --xpo-ease: cubic-bezier(.22, 1, .36, 1);
}

html {
  scroll-behavior: smooth;
}

body.wp-theme-twentytwentyfour {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f5f8fb 100%);
  color: var(--xpo-ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.wp-theme-twentytwentyfour h1,
body.wp-theme-twentytwentyfour h2,
body.wp-theme-twentytwentyfour h3,
body.wp-theme-twentytwentyfour h4,
body.wp-theme-twentytwentyfour h5,
body.wp-theme-twentytwentyfour h6,
.section-heading,
.xp-hero-h1 {
  font-family: Inter, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 760 !important;
  letter-spacing: 0;
  color: var(--xpo-ink);
}

body.wp-theme-twentytwentyfour h1,
.xp-hero-h1 {
  line-height: .98 !important;
}

body.wp-theme-twentytwentyfour h2,
.section-heading {
  line-height: 1.04 !important;
}

body.wp-theme-twentytwentyfour p,
body.wp-theme-twentytwentyfour li {
  color: rgba(7, 17, 31, .78);
}

.wp-site-blocks {
  overflow: clip;
}

.wp-site-blocks > style,
.wp-site-blocks > link,
.wp-site-blocks > script {
  display: none !important;
  margin: 0 !important;
}

.wp-site-blocks > main {
  isolation: isolate;
}

.wp-site-blocks > .xp-hero-wrap,
.wp-site-blocks > section[class^="xp-"],
.wp-site-blocks > section[class*=" xp-"],
.wp-site-blocks > section[class^="xpo-"],
.wp-site-blocks > section[class*=" xpo-"],
.wp-site-blocks > div[class^="xp-"],
.wp-site-blocks > div[class*=" xp-"],
.wp-site-blocks > div[class^="xpo-"],
.wp-site-blocks > div[class*=" xpo-"],
.wp-site-blocks main > section[class^="xp-"],
.wp-site-blocks main > section[class*=" xp-"],
.wp-site-blocks main > section[class^="xpo-"],
.wp-site-blocks main > section[class*=" xpo-"],
.wp-site-blocks main > div[class^="xp-"],
.wp-site-blocks main > div[class*=" xp-"],
.wp-site-blocks main > div[class^="xpo-"],
.wp-site-blocks main > div[class*=" xpo-"],
footer.wp-block-template-part,
footer.wp-block-template-part > section,
footer.wp-block-template-part > .xp-footer {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.wp-site-blocks > style + section[class^="xp-"],
.wp-site-blocks > style + div[class^="xp-"],
.wp-site-blocks > style + section[class^="xpo-"],
.wp-site-blocks > style + div[class^="xpo-"],
.wp-site-blocks main > style + section[class^="xp-"],
.wp-site-blocks main > style + div[class^="xp-"],
.wp-site-blocks main > style + section[class^="xpo-"],
.wp-site-blocks main > style + div[class^="xpo-"] {
  margin-top: 0 !important;
}

footer.wp-block-template-part {
  position: static !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
}

footer.wp-block-template-part > figure.wp-block-image.aligncenter,
footer.wp-block-template-part > figure.wp-block-image:has(+ style + .xp-footer),
footer.wp-block-template-part > figure.wp-block-image:has(+ .xp-footer) {
  display: none !important;
  margin: 0 !important;
}

/* Header and Navigation */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  font-size: 0;
  line-height: 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wp-site-blocks > header.wp-block-template-part > .wp-block-group {
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.55;
  background: rgba(255, 255, 255, .82) !important;
  border-bottom: 1px solid rgba(15, 32, 54, .08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .72) inset;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  transition: background 260ms var(--xpo-ease), box-shadow 260ms var(--xpo-ease), border-color 260ms var(--xpo-ease);
}

body.xpo-scrolled .wp-site-blocks > header.wp-block-template-part > .wp-block-group {
  background: rgba(255, 255, 255, .92) !important;
  border-color: rgba(15, 32, 54, .13);
  box-shadow: 0 14px 40px rgba(8, 23, 42, .09);
}

.wp-block-site-logo img,
.custom-logo,
.wp-site-blocks > header.wp-block-template-part .wp-block-image img {
  width: auto !important;
  max-width: 150px !important;
  max-height: 82px !important;
  object-fit: contain;
  transition: transform 360ms var(--xpo-ease), filter 360ms var(--xpo-ease);
}

.wp-site-blocks > header.wp-block-template-part .wp-block-image,
.wp-site-blocks > header.wp-block-template-part figure {
  margin: 0 !important;
  line-height: 0;
}

.wp-site-blocks > header.wp-block-template-part header.wp-block-group {
  min-height: 78px;
  gap: clamp(18px, 3vw, 34px) !important;
}

.wp-site-blocks > header.wp-block-template-part .wp-block-buttons {
  flex-shrink: 0;
}

.wp-block-site-logo a:hover img,
a.custom-logo-link:hover img {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 8px 16px rgba(15, 185, 178, .18));
}

.wp-block-navigation .wp-block-navigation-item__content {
  position: relative;
  padding: 10px 2px;
  transition: color 180ms var(--xpo-ease);
}

.wp-block-navigation .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--xpo-teal), var(--xpo-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--xpo-ease);
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--xpo-teal) !important;
  text-decoration: none !important;
}

.wp-block-navigation .wp-block-navigation-item__content:hover::after {
  transform: scaleX(1);
}

.wp-block-navigation__responsive-container.is-menu-open {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,248,251,.98)) !important;
  animation: xpoMenuIn 420ms var(--xpo-ease);
}

@keyframes xpoMenuIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.wp-block-button__link,
.wp-element-button,
.btn,
.xp-btn {
  position: relative;
  isolation: isolate;
  border-radius: 999px !important;
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 720 !important;
  letter-spacing: 0;
  text-decoration: none !important;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 260ms var(--xpo-ease),
    box-shadow 260ms var(--xpo-ease),
    border-color 260ms var(--xpo-ease),
    background 260ms var(--xpo-ease),
    color 260ms var(--xpo-ease);
}

.wp-block-button__link::before,
.wp-element-button::before,
.btn::before,
.xp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,.18), rgba(255,255,255,0) 38%, rgba(255,255,255,.18) 72%);
  transform: translateX(-120%);
  transition: transform 620ms var(--xpo-ease);
}

.wp-block-button__link:hover,
.wp-element-button:hover,
.btn:hover,
.xp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 185, 178, .18);
}

.wp-block-button__link:hover::before,
.wp-element-button:hover::before,
.btn:hover::before,
.xp-btn:hover::before {
  transform: translateX(120%);
}

.xp-btn-primary,
.btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.wp-element-button {
  background: linear-gradient(135deg, #0aa99f, #2457d6) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}

.xp-btn-outline-white,
.btn-outline-white,
.btn-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(15, 32, 54, .18) !important;
  color: var(--xpo-ink) !important;
}

.has-contrast-background-color .wp-block-button.is-style-outline .wp-block-button__link,
[class*="dark"] .btn-outline-white,
.xp-btn-outline-white {
  border-color: rgba(255,255,255,.24) !important;
  color: #fff !important;
}

.xp-remote-feature,
.xp-hiring,
.xp-video-section,
.xp-edge-section,
.xp-edge,
.xp-cta-section,
.xp-cta-strip,
.xp-contact,
.xp-stats-section {
  color: rgba(255,255,255,.84) !important;
}

.xp-remote-feature h1,
.xp-remote-feature h2,
.xp-remote-feature h3,
.xp-remote-feature h4,
.xp-remote-feature p,
.xp-remote-feature li,
.xp-hiring h1,
.xp-hiring h2,
.xp-hiring h3,
.xp-hiring h4,
.xp-hiring p,
.xp-hiring li,
.xp-video-section h1,
.xp-video-section h2,
.xp-video-section h3,
.xp-video-section h4,
.xp-video-section p,
.xp-video-section li,
.xp-edge-section h1,
.xp-edge-section h2,
.xp-edge-section h3,
.xp-edge-section h4,
.xp-edge-section p,
.xp-edge-section li,
.xp-edge h1,
.xp-edge h2,
.xp-edge h3,
.xp-edge h4,
.xp-edge p,
.xp-edge li,
.xp-cta-section h1,
.xp-cta-section h2,
.xp-cta-section h3,
.xp-cta-section h4,
.xp-cta-section p,
.xp-cta-section li,
.xp-cta-strip h1,
.xp-cta-strip h2,
.xp-cta-strip h3,
.xp-cta-strip h4,
.xp-cta-strip p,
.xp-cta-strip li,
.xp-contact h1,
.xp-contact h2,
.xp-contact h3,
.xp-contact h4,
.xp-contact p,
.xp-contact li,
.xp-stats-section h1,
.xp-stats-section h2,
.xp-stats-section h3,
.xp-stats-section h4,
.xp-stats-section p,
.xp-stats-section li {
  color: rgba(255,255,255,.86) !important;
}

.xp-remote-feature h1,
.xp-remote-feature h2,
.xp-remote-feature h3,
.xp-hiring h1,
.xp-hiring h2,
.xp-hiring h3,
.xp-video-section h1,
.xp-video-section h2,
.xp-video-section h3,
.xp-edge-section h1,
.xp-edge-section h2,
.xp-edge-section h3,
.xp-edge h1,
.xp-edge h2,
.xp-edge h3,
.xp-cta-section h1,
.xp-cta-section h2,
.xp-cta-section h3,
.xp-cta-strip h1,
.xp-cta-strip h2,
.xp-cta-strip h3,
.xp-contact h1,
.xp-contact h2,
.xp-contact h3,
.xp-stats-section h1,
.xp-stats-section h2,
.xp-stats-section h3 {
  color: #ffffff !important;
}

.xp-remote-feature .section-label,
.xp-remote-feature-pill,
.xp-hiring .section-label,
.xp-video-section .section-label,
.xp-edge-section .section-label {
  color: #5efff3 !important;
}

.xp-edge .section-label,
.xp-cta-strip .section-label,
.xp-contact .section-label {
  color: #5efff3 !important;
}

.xp-edge {
  background: #f8fafc !important;
  color: var(--xpo-ink) !important;
}

.xp-edge h1,
.xp-edge h2,
.xp-edge h3,
.xp-edge h4 {
  color: var(--xpo-ink) !important;
}

.xp-edge p,
.xp-edge li {
  color: rgba(7, 17, 31, .72) !important;
}

.xp-edge .section-label {
  color: var(--xpo-teal) !important;
}

.xp-contact-detail-text,
.xp-contact-detail-text strong,
.xp-contact-content > p,
.xp-contact-content a {
  color: rgba(255,255,255,.88) !important;
}

.xp-contact-form,
.xp-contact-form h3,
.xp-contact-form label,
.xp-contact-form p {
  color: var(--xpo-ink) !important;
}

.xp-deliver,
.xp-deliver h1,
.xp-deliver h2,
.xp-deliver h3,
.xp-deliver h4 {
  color: var(--xpo-ink) !important;
}

.xp-deliver p,
.xp-deliver li {
  color: rgba(7, 17, 31, .72) !important;
}

.xp-deliver .section-label {
  color: var(--xpo-teal) !important;
}

.xp-value-prop-visual img {
  object-position: 62% 26% !important;
}

/* Homepage hero */
.xp-hero,
.xp-hero-section {
  position: relative;
  min-height: clamp(680px, 92vh, 980px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(5, 14, 28, .96), rgba(8, 31, 52, .94) 48%, rgba(5, 14, 28, .98)),
    linear-gradient(90deg, rgba(62, 214, 255, .09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(62, 214, 255, .07) 1px, transparent 1px) !important;
  background-size: auto, 52px 52px, 52px 52px !important;
  overflow: hidden;
}

.xp-hero-wrap {
  margin-top: 0 !important;
}

.xp-hero::before,
.xp-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 78% 18%, rgba(62, 214, 255, .20), transparent 55%),
    linear-gradient(120deg, rgba(15,185,178,.14), transparent 38%, rgba(36,87,214,.10));
  pointer-events: none;
}

.xp-hero::after,
.xp-hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(248,250,252,1));
  pointer-events: none;
}

.xp-hero-inner,
.xp-hero-content,
.xp-hero-visual {
  position: relative;
  z-index: 1;
}

.xp-hero-h1 {
  max-width: 1020px;
  font-size: clamp(3.25rem, 8vw, 7.9rem) !important;
  color: #fff !important;
  text-wrap: balance;
}

.xp-highlight {
  color: transparent !important;
  background: linear-gradient(90deg, #ffffff, #63fff4 42%, #8dc9ff 74%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
}

.xp-hero-subtitle,
.hero-subtitle {
  max-width: 760px;
  color: rgba(255,255,255,.76) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem) !important;
  line-height: 1.65 !important;
}

.xp-hero-proof,
.hero-proof,
.section-label {
  letter-spacing: .08em !important;
  text-transform: uppercase;
  font-weight: 800 !important;
}

.xp-hero-visual img,
.hero-visual img {
  width: 100% !important;
  height: clamp(360px, 34vw, 500px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: rgba(255,255,255,.08);
  border-radius: var(--xpo-radius-lg);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .36);
  border: 1px solid rgba(255,255,255,.16);
}

.xp-hero-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--xpo-radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.xp-hero-content {
  min-height: clamp(620px, 62vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.xp-hero-h1 {
  min-height: 4.9em;
}

.xp-hero-h1 .xp-highlight {
  display: inline-block;
  min-width: 12.5ch;
  vertical-align: baseline;
}

.xp-hero-subtitle {
  min-height: 5.2em;
}

.xp-hero-proof {
  min-height: 2.6em;
}

.xp-hero-actions,
.xp-hero-stats {
  flex-shrink: 0;
}

.xp-hero-visual,
.hero-visual {
  animation: xpoFloat 9s var(--xpo-ease) infinite;
}

@keyframes xpoFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

/* Sections and layout rhythm */
.wp-site-blocks main > .wp-block-group,
.entry-content > .wp-block-group,
section[class^="xp-"],
section[class*=" xp-"] {
  position: relative;
}

.entry-content > .wp-block-group,
.wp-site-blocks main > .wp-block-group.alignfull,
section.xp-value-section,
section.xp-video-section,
section.xp-process-section,
section.xp-industries-section,
section.xp-services-section,
section.xp-testimonials-section,
section.xp-edge-section {
  padding-top: clamp(72px, 9vw, 132px) !important;
  padding-bottom: clamp(72px, 9vw, 132px) !important;
}

.section-heading,
.wp-block-heading {
  text-wrap: balance;
}

.section-desc,
.xp-section-desc,
.wp-block-post-content > p,
.entry-content > p {
  max-width: 760px;
}

.section-label,
.xp-remote-feature-pill,
.xpo-faq-eyebrow {
  color: var(--xpo-teal) !important;
}

/* Premium cards */
.xp-service-card,
.xp-industry-card,
.xp-testimonial-card,
.xp-process-step,
.xp-value-card,
.wp-block-post-template > li,
.entry-content .wp-block-column:has(h3),
.entry-content .wp-block-column:has(h2) {
  position: relative;
  border: 1px solid var(--xpo-line);
  border-radius: var(--xpo-radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(250,252,255,.88));
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset, 0 14px 42px rgba(7, 17, 31, .07);
  transition:
    transform 300ms var(--xpo-ease),
    box-shadow 300ms var(--xpo-ease),
    border-color 300ms var(--xpo-ease),
    background 300ms var(--xpo-ease);
  overflow: hidden;
}

.wp-block-post-template > li {
  padding: clamp(22px, 3vw, 34px) !important;
}

.wp-block-post-template > li > .wp-block-columns {
  margin: 0 !important;
}

.wp-block-post-template > li .wp-block-column {
  padding: 0 !important;
}

.wp-block-post-template .wp-block-post-title {
  margin: 0 !important;
}

.wp-block-post-template .wp-block-post-title a {
  display: inline-block;
  padding-top: 4px;
}

.xp-service-card::before,
.xp-industry-card::before,
.xp-testimonial-card::before,
.xp-process-step::before,
.xp-value-card::before,
.wp-block-post-template > li::before,
.entry-content .wp-block-column:has(h3)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--xpo-teal), var(--xpo-cyan), var(--xpo-blue));
  opacity: .72;
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform 420ms var(--xpo-ease), opacity 420ms var(--xpo-ease);
}

.xp-service-card:hover,
.xp-industry-card:hover,
.xp-testimonial-card:hover,
.xp-process-step:hover,
.xp-value-card:hover,
.wp-block-post-template > li:hover,
.entry-content .wp-block-column:has(h3):hover {
  transform: translateY(-6px);
  border-color: rgba(15,185,178,.34);
  box-shadow: var(--xpo-shadow);
}

.xp-service-card:hover::before,
.xp-industry-card:hover::before,
.xp-testimonial-card:hover::before,
.xp-process-step:hover::before,
.xp-value-card:hover::before,
.wp-block-post-template > li:hover::before,
.entry-content .wp-block-column:has(h3):hover::before {
  transform: scaleX(1);
  opacity: 1;
}

.xp-service-card img,
.xp-industry-card img,
.wp-block-post-featured-image img,
.wp-block-image img {
  transition: transform 520ms var(--xpo-ease), filter 520ms var(--xpo-ease);
}

.xp-service-card:hover img,
.xp-industry-card:hover img,
.wp-block-post-template > li:hover img,
.wp-block-image:hover img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.03);
}

/* Homepage blog carousel */
.xpo-blog-showcase-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(15, 185, 178, .10), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(37, 99, 235, .10), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%) !important;
}

.xpo-blog-showcase-section > .wp-block-heading,
.xpo-blog-showcase-section h3.wp-block-heading {
  margin-bottom: clamp(18px, 2.4vw, 28px) !important;
}

.xpo-blog-carousel {
  --xpo-blog-gap: clamp(18px, 2vw, 24px);
  max-width: 1240px;
  margin: 0 auto;
  min-height: 520px;
  position: relative;
}

.xpo-blog-carousel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.xpo-blog-carousel__eyebrow {
  margin: 0;
  color: var(--xpo-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.xpo-blog-carousel__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.xpo-blog-carousel__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, .13);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,252,.92));
  color: #0f172a;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 220ms var(--xpo-ease),
    border-color 220ms var(--xpo-ease),
    background 220ms var(--xpo-ease),
    color 220ms var(--xpo-ease),
    box-shadow 220ms var(--xpo-ease);
}

.xpo-blog-carousel__arrow:hover,
.xpo-blog-carousel__arrow:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 185, 178, .45);
  background: linear-gradient(135deg, var(--xpo-teal), var(--xpo-blue));
  color: #fff;
  box-shadow: 0 22px 44px rgba(18, 116, 201, .24);
}

.xpo-blog-carousel__viewport {
  overflow: hidden;
  outline: none;
  padding: 4px 2px 34px;
}

.xpo-blog-carousel__track {
  display: flex;
  align-items: stretch;
  gap: var(--xpo-blog-gap);
  will-change: transform;
  transition: transform 680ms cubic-bezier(.2, .8, .2, 1);
}

.xpo-blog-carousel__loading {
  min-height: 360px;
  width: 100%;
  border: 1px solid var(--xpo-line);
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #64748b;
  background:
    linear-gradient(110deg, rgba(255,255,255,.72), rgba(255,255,255,.96), rgba(255,255,255,.72));
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.xpo-blog-card {
  flex: 0 0 calc((100% - (var(--xpo-blog-gap) * 3)) / 4);
  min-width: 0;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition:
    opacity 520ms var(--xpo-ease),
    transform 520ms var(--xpo-ease);
}

.xpo-blog-carousel.is-ready .xpo-blog-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.xpo-blog-card__link {
  min-height: 430px;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .24);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.94));
  box-shadow:
    0 1px 0 rgba(255,255,255,.82) inset,
    0 20px 54px rgba(15, 23, 42, .09);
  position: relative;
  isolation: isolate;
  transition:
    transform 320ms var(--xpo-ease),
    box-shadow 320ms var(--xpo-ease),
    border-color 320ms var(--xpo-ease);
}

.xpo-blog-card__link::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--xpo-teal), var(--xpo-cyan), var(--xpo-blue));
  opacity: .86;
  z-index: 2;
}

.xpo-blog-card__link:hover,
.xpo-blog-card__link:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(15, 185, 178, .36);
  box-shadow:
    0 1px 0 rgba(255,255,255,.86) inset,
    0 28px 72px rgba(15, 23, 42, .14),
    0 18px 45px rgba(15, 185, 178, .12);
}

.xpo-blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(15, 185, 178, .22), rgba(37, 99, 235, .16)),
    #dbe7f0;
  overflow: hidden;
}

.xpo-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 620ms var(--xpo-ease), filter 620ms var(--xpo-ease);
}

.xpo-blog-card__link:hover .xpo-blog-card__media img,
.xpo-blog-card__link:focus-visible .xpo-blog-card__media img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.04);
}

.xpo-blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(5, 15, 28, .86), rgba(15, 185, 178, .42)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 42px);
}

.xpo-blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 24px);
  flex: 1;
}

.xpo-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.xpo-blog-card__meta span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--xpo-teal), var(--xpo-blue));
}

.xpo-blog-card__title {
  color: #07111f;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: 0;
}

.xpo-blog-card__excerpt {
  color: #475569;
  font-size: 14px;
  line-height: 1.62;
}

.xpo-blog-card__cta {
  margin-top: auto;
  color: #078f8d;
  font-size: 14px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.xpo-blog-card__cta span {
  transition: transform 220ms var(--xpo-ease);
}

.xpo-blog-card__link:hover .xpo-blog-card__cta span,
.xpo-blog-card__link:focus-visible .xpo-blog-card__cta span {
  transform: translateX(4px);
}

.xpo-blog-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -8px;
}

.xpo-blog-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .18);
  transition: width 240ms var(--xpo-ease), background 240ms var(--xpo-ease);
}

.xpo-blog-carousel__dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--xpo-teal), var(--xpo-blue));
}

@media (max-width: 1419px) {
  .xpo-blog-card {
    flex-basis: calc((100% - (var(--xpo-blog-gap) * 2)) / 3);
  }
}

@media (max-width: 1099px) {
  .xpo-blog-carousel {
    min-height: 500px;
  }

  .xpo-blog-card {
    flex-basis: calc((100% - var(--xpo-blog-gap)) / 2);
  }
}

@media (max-width: 699px) {
  .xpo-blog-carousel {
    min-height: 0;
  }

  .xpo-blog-carousel__top {
    align-items: flex-end;
  }

  .xpo-blog-carousel__arrow {
    width: 40px;
    height: 40px;
  }

  .xpo-blog-card {
    flex-basis: 88%;
  }

  .xpo-blog-card__link {
    min-height: 420px;
  }

  .xpo-blog-card__excerpt {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xpo-blog-carousel__track,
  .xpo-blog-card,
  .xpo-blog-card__link,
  .xpo-blog-card__media img {
    transition: none !important;
  }
}

/* Calculator suite hub */
.xpo-calculator-page .entry-content.wp-block-post-content,
.entry-content.wp-block-post-content:has(.xpo-calc-hub) {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xpo-calculator-page .wp-site-blocks main,
.wp-site-blocks main:has(.xpo-calc-hub) {
  background:
    radial-gradient(circle at 16% 8%, rgba(15, 185, 178, .09), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(37, 99, 235, .08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f3f7fb 100%) !important;
}

.xpo-calc-hub {
  --calc-ink: #07111f;
  --calc-muted: #506176;
  --calc-line: rgba(15, 32, 54, .12);
  --calc-teal: #0ea5a3;
  --calc-blue: #2563eb;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  color: var(--calc-ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,250,252,.92) 42%, rgba(255,255,255,.96));
  overflow: clip;
}

.xpo-calc-hub * {
  box-sizing: border-box;
}

.xpo-calc-wrap {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.xpo-calc-hero,
.xpo-calc-section {
  padding: clamp(70px, 8vw, 116px) 0;
}

.xpo-calc-hero {
  border-bottom: 1px solid rgba(15, 32, 54, .08);
  background:
    radial-gradient(circle at 18% 18%, rgba(14,165,163,.16), transparent 32%),
    radial-gradient(circle at 84% 10%, rgba(37,99,235,.13), transparent 34%),
    linear-gradient(180deg, rgba(239, 248, 252, .88), rgba(255,255,255,.84));
}

.xpo-calc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.xpo-calc-eyebrow,
.xpo-calc-card-kicker {
  margin: 0 0 14px;
  color: var(--calc-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.xpo-calc-hero h1,
.xpo-calc-section h2,
.xpo-calc-category h3,
.xpo-calc-card h4,
.xpo-calc-panel h3,
.xpo-calc-faq-item h3 {
  color: var(--calc-ink);
  letter-spacing: 0;
}

.xpo-calc-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: .98;
}

.xpo-calc-lede,
.xpo-calc-section-head p,
.xpo-calc-category-desc,
.xpo-calc-card p,
.xpo-calc-panel p,
.xpo-calc-panel li,
.xpo-calc-faq-item p {
  color: var(--calc-muted);
  line-height: 1.7;
}

.xpo-calc-lede {
  margin: 22px 0 0;
  max-width: 780px;
  font-size: clamp(17px, 1.55vw, 20px);
}

.xpo-calc-actions,
.xpo-calc-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.xpo-calc-actions {
  margin-top: 30px;
}

.xpo-calc-btn,
.xpo-calc-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: #fff;
  color: var(--calc-ink);
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.xpo-calc-btn {
  min-height: 48px;
  padding: 13px 20px;
}

.xpo-calc-chip {
  min-height: 42px;
  padding: 9px 14px;
  cursor: pointer;
}

.xpo-calc-btn:hover,
.xpo-calc-btn:focus-visible,
.xpo-calc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,165,163,.42);
  box-shadow: 0 24px 58px rgba(15, 23, 42, .13);
}

.xpo-calc-btn-primary,
.xpo-calc-chip.is-active,
.xpo-calc-chip:hover,
.xpo-calc-chip:focus-visible {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--calc-teal), var(--calc-blue));
}

.xpo-calc-summary,
.xpo-calc-grid,
.xpo-calc-benefits,
.xpo-calc-link-grid,
.xpo-calc-faq-grid {
  display: grid;
  gap: 22px;
}

.xpo-calc-summary,
.xpo-calc-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xpo-calc-grid,
.xpo-calc-benefits,
.xpo-calc-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xpo-calc-stat,
.xpo-calc-panel,
.xpo-calc-card,
.xpo-calc-note,
.xpo-calc-faq-item {
  border: 1px solid var(--calc-line);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
  backdrop-filter: blur(10px);
}

.xpo-calc-stat,
.xpo-calc-panel,
.xpo-calc-faq-item {
  padding: 22px;
}

.xpo-calc-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
}

.xpo-calc-section-head {
  max-width: 850px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.xpo-calc-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.xpo-calc-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.xpo-calc-search {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--calc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--calc-ink);
  padding: 0 20px;
  font: inherit;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

.xpo-calc-category {
  margin-top: 34px;
}

.xpo-calc-category[hidden],
.xpo-calc-card[hidden] {
  display: none !important;
}

.xpo-calc-card {
  position: relative;
  min-height: 286px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.xpo-calc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--calc-teal), #4de7df, var(--calc-blue));
}

.xpo-calc-card h4 {
  margin: 10px 0;
  font-size: 21px;
  line-height: 1.18;
}

.xpo-calc-use {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(14,165,163,.08);
  color: #134e4a;
  font-size: 14px;
  line-height: 1.5;
}

.xpo-calc-card .xpo-calc-btn {
  margin-top: auto;
  width: fit-content;
  min-height: 42px;
  padding: 10px 15px;
  font-size: 14px;
}

.xpo-calc-note {
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 0 0, rgba(14,165,163,.10), transparent 35%),
    linear-gradient(135deg, #ffffff, #f8fbff);
}

.xpo-calc-cta {
  color: #fff;
  background: radial-gradient(circle at 14% 10%, rgba(77,231,223,.18), transparent 32%), linear-gradient(135deg, #07111f, #10263c 58%, #07111f);
}

.xpo-calc-cta h2,
.xpo-calc-cta p {
  color: #fff;
}

.xpo-calc-cta p {
  max-width: 760px;
  opacity: .84;
}

.xpo-calc-empty {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border: 1px dashed var(--calc-line);
  border-radius: 18px;
  color: var(--calc-muted);
  background: rgba(255,255,255,.72);
}

@media (max-width: 980px) {
  .xpo-calc-hero-grid,
  .xpo-calc-controls,
  .xpo-calc-grid,
  .xpo-calc-benefits,
  .xpo-calc-link-grid,
  .xpo-calc-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .xpo-calc-wrap {
    width: min(100% - 28px, 1180px);
  }

  .xpo-calc-summary {
    grid-template-columns: 1fr;
  }

  .xpo-calc-card {
    min-height: 0;
  }
}

/* Homepage specific sections */
.xp-value-section,
.xp-process-section,
.xp-services-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(245,248,251,.95));
}

.xp-video-section,
.xp-edge-section,
.xp-cta-section {
  background:
    linear-gradient(135deg, #07111f, #10263c 56%, #07111f) !important;
  color: #fff;
}

.xp-video-section h2,
.xp-video-section h3,
.xp-edge-section h2,
.xp-edge-section h3,
.xp-cta-section h2,
.xp-cta-section h3,
.xp-video-section p,
.xp-edge-section p,
.xp-cta-section p {
  color: #fff !important;
}

.xp-video-section::before,
.xp-edge-section::before,
.xp-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}

.xp-process-number {
  background: linear-gradient(135deg, var(--xpo-teal), var(--xpo-blue)) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(15,185,178,.24);
}

.xp-testimonial-stars {
  color: #0fb9b2 !important;
}

.xp-cta-section {
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Inner content pages */
.entry-content.wp-block-post-content {
  padding-top: clamp(42px, 7vw, 92px);
  padding-bottom: clamp(64px, 8vw, 120px);
}

.entry-content.wp-block-post-content:has(.section.hero) {
  padding-top: 0 !important;
}

.wp-site-blocks main > .wp-block-group:first-child .wp-block-spacer,
.wp-site-blocks > header.wp-block-template-part > .wp-block-group > .wp-block-group:has(.wp-block-spacer) {
  display: none !important;
}

.wp-block-post-content .section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 34px) !important;
}

.wp-block-post-content .section.hero {
  position: relative;
  margin-top: 0 !important;
  background:
    linear-gradient(135deg, rgba(7,17,31,.98), rgba(15,42,66,.96)),
    linear-gradient(90deg, rgba(62,214,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(62,214,255,.06) 1px, transparent 1px) !important;
  background-size: auto, 48px 48px, 48px 48px !important;
  border-radius: 0 0 var(--xpo-radius-lg) var(--xpo-radius-lg);
  overflow: hidden;
  box-shadow: var(--xpo-shadow-strong);
}

.wp-block-post-content .section.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 34px);
  bottom: clamp(28px, 4vw, 44px);
  width: 112px;
  height: 3px;
  background: linear-gradient(90deg, var(--xpo-teal), var(--xpo-cyan));
}

.wp-block-post-content .section.hero h1,
.wp-block-post-content .section.hero p {
  color: #fff !important;
}

.wp-block-post-content .section.hero p {
  color: rgba(255,255,255,.76) !important;
  max-width: 760px;
}

.wp-block-post-content .section.hero .btn {
  margin-top: 10px;
  width: min(100%, 340px);
  box-sizing: border-box;
}

/* About page readability */
.xpo-about-page .wp-site-blocks main,
.xpo-about-page .entry-content.wp-block-post-content,
body.page-template-page-about .page-content {
  background:
    radial-gradient(circle at 12% 0%, rgba(15,185,178,.10), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(37,99,235,.08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 44%, #f3f7fb 100%) !important;
  color: var(--xpo-ink) !important;
}

.xpo-about-page .entry-content.wp-block-post-content {
  padding-top: clamp(56px, 7vw, 96px);
}

.xpo-about-page .entry-content.wp-block-post-content > *:not(.alignfull),
body.page-template-page-about .page-content .container {
  max-width: 1060px !important;
}

.xpo-about-page .entry-content.wp-block-post-content p,
.xpo-about-page .entry-content.wp-block-post-content li,
body.page-template-page-about .page-content p,
body.page-template-page-about .page-content li {
  color: #334155 !important;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.78;
}

.xpo-about-page .entry-content.wp-block-post-content h2,
.xpo-about-page .entry-content.wp-block-post-content h3,
body.page-template-page-about .page-content h2,
body.page-template-page-about .page-content h3 {
  color: #07111f !important;
  letter-spacing: 0;
}

.xpo-about-page .entry-content .wp-block-column:has(h3),
.xpo-about-page .entry-content .wp-block-column:has(h2),
body.page-template-page-about .page-content .wp-block-column:has(h3),
body.page-template-page-about .page-content .wp-block-column:has(h2) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,255,.9)) !important;
  border: 1px solid rgba(15, 32, 54, .10) !important;
  box-shadow: 0 16px 44px rgba(7, 17, 31, .07) !important;
}

.xpo-about-page .wp-block-post-content .section.hero,
body.page-template-page-about .page-hero {
  background:
    linear-gradient(135deg, rgba(7,17,31,.98), rgba(12, 42, 62, .95)),
    linear-gradient(90deg, rgba(62,214,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(62,214,255,.06) 1px, transparent 1px) !important;
  background-size: auto, 48px 48px, 48px 48px !important;
}

.xpo-about-page .wp-block-post-content .section.hero h1,
.xpo-about-page .wp-block-post-content .section.hero h2,
.xpo-about-page .wp-block-post-content .section.hero p,
body.page-template-page-about .page-hero h1,
body.page-template-page-about .page-hero p {
  color: #fff !important;
}

.entry-content.wp-block-post-content > h1:first-child,
.wp-block-post-content > h1:first-child {
  position: relative;
  max-width: 1060px;
  margin-bottom: clamp(28px, 5vw, 64px) !important;
  padding: clamp(52px, 8vw, 104px) clamp(22px, 5vw, 72px);
  border-radius: 0 0 var(--xpo-radius-lg) var(--xpo-radius-lg);
  background:
    linear-gradient(135deg, rgba(7,17,31,.98), rgba(15, 42, 66, .96)),
    linear-gradient(90deg, rgba(62,214,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(62,214,255,.06) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  color: #fff !important;
  box-shadow: var(--xpo-shadow-strong);
  overflow: hidden;
}

.entry-content.wp-block-post-content > h1:first-child::after {
  content: "";
  position: absolute;
  left: clamp(22px, 5vw, 72px);
  bottom: clamp(24px, 4vw, 44px);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--xpo-teal), var(--xpo-cyan));
}

.wp-block-post-content > h2,
.entry-content > h2 {
  margin-top: clamp(48px, 7vw, 92px) !important;
  margin-bottom: 18px !important;
}

.wp-block-post-content > h3,
.entry-content > h3 {
  margin-top: 32px !important;
}

.wp-block-post-content > ul,
.wp-block-post-content > ol,
.entry-content > ul,
.entry-content > ol {
  padding-left: 1.2em;
}

.wp-block-post-content > ul li::marker,
.entry-content > ul li::marker {
  color: var(--xpo-teal);
}

.wp-block-columns {
  gap: clamp(20px, 3vw, 42px) !important;
}

.entry-content .wp-block-column {
  min-width: 0;
}

.entry-content .wp-block-column:has(h3),
.entry-content .wp-block-column:has(h2) {
  padding: clamp(22px, 3vw, 34px);
}

/* FAQ */
.xpo-faq-section {
  background:
    linear-gradient(180deg, #f7fafc, #ffffff) !important;
  border-top: 1px solid var(--xpo-line);
}

.xpo-faq-card,
.xpo-faq-item,
.xpo-faq details {
  border-radius: var(--xpo-radius) !important;
  border: 1px solid var(--xpo-line) !important;
  box-shadow: 0 12px 36px rgba(7,17,31,.06);
}

/* Footer */
.xp-footer,
footer.wp-block-template-part .xp-footer {
  background-color: #f8fafc !important;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%) !important;
  color: rgba(7, 17, 31, .74) !important;
  border-top: 1px solid rgba(15, 32, 54, .12) !important;
}

.xp-footer h4,
.xp-footer strong,
.xp-footer a,
.xp-footer-slogan {
  color: var(--xpo-ink) !important;
}

.xp-footer p,
.xp-footer li,
.xp-footer-bottom,
.xp-footer-bottom span {
  color: rgba(7, 17, 31, .66) !important;
}

.xp-footer a {
  text-decoration: none !important;
  transition: color 200ms var(--xpo-ease), transform 200ms var(--xpo-ease);
}

.xp-footer a:hover {
  color: var(--xpo-teal) !important;
}

.xp-footer-brand-logo img {
  filter: none !important;
}

.xp-footer-social a {
  background: #e2eaf2 !important;
  color: var(--xpo-ink) !important;
  border: 1px solid rgba(15, 32, 54, .12);
}

.xp-footer-social a:hover {
  background: var(--xpo-teal) !important;
  color: #fff !important;
}

.xp-footer-bottom {
  border-top-color: rgba(15, 32, 54, .14) !important;
}

/* Motion primitives */
[data-xpo-animate] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 720ms var(--xpo-ease),
    transform 720ms var(--xpo-ease),
    filter 720ms var(--xpo-ease);
  will-change: opacity, transform;
}

[data-xpo-animate="fade"] {
  transform: none;
}

[data-xpo-animate="scale"] {
  transform: translate3d(0, 18px, 0) scale(.985);
}

[data-xpo-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.xpo-page-ready .xp-hero-h1,
.xpo-page-ready .xp-hero-subtitle,
.xpo-page-ready .xp-hero-actions,
.xpo-page-ready .xp-hero-stats,
.xpo-page-ready .xp-hero-visual {
  animation: xpoHeroReveal 900ms var(--xpo-ease) both;
}

.xpo-page-ready .xp-hero-subtitle { animation-delay: 90ms; }
.xpo-page-ready .xp-hero-actions { animation-delay: 170ms; }
.xpo-page-ready .xp-hero-stats { animation-delay: 250ms; }
.xpo-page-ready .xp-hero-visual { animation-delay: 210ms; }

@keyframes xpoHeroReveal {
  from { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(6px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

/* Cursor spotlight for premium cards */
.xpo-spotlight {
  --xpo-mx: 50%;
  --xpo-my: 50%;
}

.xpo-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--xpo-mx) var(--xpo-my), rgba(62,214,255,.16), transparent 42%);
  opacity: 0;
  transition: opacity 260ms var(--xpo-ease);
  pointer-events: none;
}

.xpo-spotlight:hover::after {
  opacity: 1;
}

.xp-service-card.xp-service-featured.xpo-spotlight::after,
.xp-service-card.xp-service-featured::after {
  content: "Key Service" !important;
  position: absolute !important;
  inset: 14px 14px auto auto !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  background: #0d9488 !important;
  color: #ffffff !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

.xp-service-card.xp-service-featured.xpo-spotlight:hover::after {
  opacity: 1 !important;
}

@media (max-width: 900px) {
  body.wp-theme-twentytwentyfour {
    --wp--style--root--padding-right: 22px;
    --wp--style--root--padding-left: 22px;
  }

  .wp-site-blocks > header.wp-block-template-part > .wp-block-group {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .wp-block-site-logo img,
  .custom-logo,
  .wp-site-blocks > header.wp-block-template-part .wp-block-image img {
    max-width: 116px !important;
    max-height: 62px !important;
  }

  .wp-site-blocks > header.wp-block-template-part header.wp-block-group {
    min-height: 62px;
  }

  .xp-hero,
  .xp-hero-section {
    min-height: auto;
    padding-top: 90px !important;
    padding-bottom: 92px !important;
  }

  .xp-hero-content {
    min-height: auto;
  }

  .xp-hero-h1 {
    min-height: 5.2em;
  }

  .xp-hero-h1 .xp-highlight {
    min-width: 0;
  }

  .xp-hero-subtitle,
  .xp-hero-proof {
    min-height: 0;
  }

  .xp-hero-visual img,
  .hero-visual img {
    height: 300px !important;
    object-fit: contain !important;
  }

  .xp-hero-h1 {
    font-size: clamp(2.65rem, 14vw, 4.6rem) !important;
  }

  .wp-block-navigation__responsive-container-content {
    padding-top: 72px !important;
  }

  .entry-content .wp-block-column:has(h3),
  .entry-content .wp-block-column:has(h2) {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .wp-block-button__link,
  .wp-element-button,
  .btn,
  .xp-btn {
    width: 100%;
  }

  .wp-block-buttons,
  .xp-hero-actions {
    width: 100%;
  }

  .entry-content.wp-block-post-content > h1:first-child,
  .wp-block-post-content > h1:first-child {
    padding: 42px 22px 58px;
    border-radius: 0 0 10px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  [data-xpo-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Calculator suite CTA: keep review/support copy readable on dark panels. */
.xp-cta-section,
.xp-cta-strip {
  color: rgba(255, 255, 255, .9) !important;
}

.xp-cta-section :where(.section-label, h1, h2, h3, h4, h5, h6),
.xp-cta-strip :where(.section-label, h1, h2, h3, h4, h5, h6) {
  color: #ffffff !important;
}

.xp-cta-section :where(p, li, small, strong, em),
.xp-cta-strip :where(p, li, small, strong, em) {
  color: rgba(255, 255, 255, .86) !important;
}

.xp-cta-section :where(.wp-block-button__link, .button, .btn),
.xp-cta-strip :where(.wp-block-button__link, .button, .btn) {
  color: inherit;
}

/* Calculator-suite review CTA shown near the bottom of /calculator-suite/. */
.xpo-calc-cta,
.xpo-calc-cta .xpo-calc-wrap {
  color: rgba(255, 255, 255, .92) !important;
}

.xpo-calc-cta :where(.xpo-calc-eyebrow, h1, h2, h3, h4, h5, h6) {
  color: #ffffff !important;
  opacity: 1 !important;
}

.xpo-calc-cta :where(p, li, small, strong, em) {
  color: rgba(255, 255, 255, .88) !important;
}

.xpo-calc-cta .xpo-calc-btn:not(.xpo-calc-btn-primary) {
  color: var(--calc-ink) !important;
}

.xpo-calc-cta .xpo-calc-btn-primary {
  color: #ffffff !important;
}
