/* -------------------------------------------------------
   About page
   Behaviour lives in assets/js/about-x.js.
------------------------------------------------------- */
.about-x {
  --ax-base: var(--base-color, #dd6531);
  --ax-peach: #f38c4b;
  --ax-ink: var(--dark-gray, #292d36);
  --ax-night: #15171c;
  --ax-paper: #f6f5f2;
  --ax-muted: var(--medium-gray, #808291);
  --ax-line: rgba(41, 45, 54, 0.1);
  --ax-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ax-ease-spring: cubic-bezier(0.2, 0.9, 0.25, 1.25);
  font-family: var(--alt-font);
  background: var(--ax-paper);
}

.about-x section {
  padding: 0;
}

.about-x em {
  font-style: normal;
  background: linear-gradient(100deg, var(--ax-peach), #ffb37d 50%, var(--ax-base));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------
   Buttons
------------------------------------------------------- */
.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.4s var(--ax-ease-out), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.ax-btn i {
  font-size: 16px;
  transition: transform 0.4s var(--ax-ease-out);
}

.ax-btn:hover i {
  transform: translateX(4px);
}

.ax-btn-brand {
  color: #fff;
  background: linear-gradient(120deg, var(--ax-base), var(--ax-peach));
  box-shadow: 0 18px 40px -16px rgba(221, 101, 49, 0.8);
}

.ax-btn-brand:hover,
.ax-btn-brand:focus-visible {
  color: #fff;
  box-shadow: 0 24px 50px -14px rgba(221, 101, 49, 0.95);
}

.ax-btn-brand:hover i {
  transform: translate(3px, -3px);
}

.ax-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ax-btn-ghost:hover,
.ax-btn-ghost:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.ax-btn-line {
  color: var(--ax-ink);
  border-color: var(--ax-line);
  background: #fff;
}

.ax-btn-line:hover,
.ax-btn-line:focus-visible {
  color: #fff;
  border-color: var(--ax-ink);
  background: var(--ax-ink);
}

.ax-btn-light {
  color: var(--ax-ink);
  background: #fff;
}

.ax-btn-light:hover,
.ax-btn-light:focus-visible {
  color: var(--ax-base);
}

.about-x a:focus-visible,
.about-x button:focus-visible {
  outline: 2px solid var(--ax-base);
  outline-offset: 3px;
}

/* -------------------------------------------------------
   Shared type
------------------------------------------------------- */
.ax-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ax-base);
}

.ax-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.ax-h2 {
  margin: 0;
  color: var(--ax-ink);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.ax-h3 {
  display: block;
  margin: 0;
  color: var(--ax-ink);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ax-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}

/* -------------------------------------------------------
   Hero (dark so the transparent header stays legible)
------------------------------------------------------- */
.ax-hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  padding: 180px 0 130px !important;
  color: #fff;
  background: var(--ax-night);
}

.ax-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
}

.ax-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.ax-glow-1 {
  right: -10%;
  top: -30%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(221, 101, 49, 0.42), transparent 65%);
  animation: ax-drift 14s ease-in-out infinite;
}

.ax-glow-2 {
  left: -18%;
  bottom: -40%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(91, 63, 217, 0.3), transparent 65%);
  animation: ax-drift 18s ease-in-out infinite reverse;
}

@keyframes ax-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.12); }
}

.ax-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 60px;
}

.ax-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 18px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ax-peach);
}

.ax-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: ax-ping 2.4s ease-out infinite;
}

@keyframes ax-ping {
  0% { box-shadow: 0 0 0 0 rgba(243, 140, 75, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(243, 140, 75, 0); }
}

.ax-title {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.ax-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.ax-lead {
  max-width: 500px;
  margin: 0 0 36px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.ax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Photo collage */
.ax-collage {
  --tx: 0;
  --ty: 0;
  position: relative;
  aspect-ratio: 1 / 1.05;
  width: min(100%, 520px);
  margin-left: auto;
}

.ax-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ax-spin 40s linear infinite;
}

.ax-ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ax-peach);
  box-shadow: 0 0 20px var(--ax-peach);
}

@keyframes ax-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ax-photo,
.ax-float {
  transform: translate(calc(var(--tx) * var(--depth, 0) * 1px), calc(var(--ty) * var(--depth, 0) * 1px));
  transition: transform 0.8s var(--ax-ease-out);
}

.ax-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.ax-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s var(--ax-ease-out);
}

.ax-ready .ax-photo img {
  transform: scale(1);
}

.ax-photo-main {
  left: 4%;
  top: 0;
  width: 62%;
  height: 80%;
}

.ax-photo-side {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 58%;
  border: 6px solid var(--ax-night);
}

.ax-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  background: rgba(21, 23, 28, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
}

.ax-float-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--ax-base), var(--ax-peach));
}

.ax-float-1 {
  right: 2%;
  top: 14%;
  animation: ax-bob 6s ease-in-out infinite;
}

.ax-float-2 {
  left: -4%;
  bottom: 12%;
  animation: ax-bob 7s ease-in-out infinite reverse;
}

/* Bob on the inner box so it doesn't fight the parallax transform */
@keyframes ax-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.ax-scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  display: block;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

.ax-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: ax-wheel 1.8s ease-in-out infinite;
}

@keyframes ax-wheel {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* -------------------------------------------------------
   Manifesto (words sharpen into view while scrolling)
------------------------------------------------------- */
.ax-story {
  padding: 140px 0 110px !important;
}

.ax-story-grid {
  --ax-progress: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 60px;
}

.ax-story-side {
  position: sticky;
  top: 130px;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* Rotating seal: spins slowly on its own and a little extra with scroll */
.ax-seal {
  position: relative;
  width: 168px;
  height: 168px;
}

.ax-seal svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: ax-seal-spin 24s linear infinite;
}

.ax-seal text {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--ax-ink);
}

@keyframes ax-seal-spin {
  to { transform: rotate(360deg); }
}

.ax-seal-core {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(21, 23, 28, 0.35);
  transform: translate(-50%, -50%) rotate(calc(var(--ax-progress) * 180deg));
}

.ax-seal-core img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Reading progress for the statement */
.ax-story-meter {
  display: block;
  width: 168px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--ax-line);
}

.ax-story-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ax-base), var(--ax-peach));
  transform: scaleX(var(--ax-progress));
  transform-origin: left;
}

.ax-manifesto {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.04em;
  color: var(--ax-ink);
}

.ax-word {
  display: inline-block;
  margin-right: 0.22em;
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.6s var(--ax-ease-out);
}

.ax-word.is-accent {
  background: linear-gradient(100deg, var(--ax-base), var(--ax-peach) 60%, #ffb37d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* A word and its chip never split across lines */
.ax-pair {
  white-space: nowrap;
}

/* Inline media chips sitting in the line of text */
.ax-chip {
  display: inline-grid;
  place-items: center;
  width: 1.7em;
  height: 0.92em;
  overflow: hidden;
  vertical-align: -0.08em;
  border-radius: 100px;
  font-size: 1em;
  color: #fff;
  background: linear-gradient(120deg, var(--ax-base), var(--ax-peach));
  box-shadow: 0 12px 24px -12px rgba(221, 101, 49, 0.8);
}

.ax-chip i {
  font-size: 0.45em;
}

.ax-chip-photo {
  width: 2.1em;
  background: var(--ax-ink);
}

.ax-chip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ax-js .ax-word {
  opacity: 0.12;
  filter: blur(3px);
  transform: translateY(0.12em);
}

.ax-js .ax-chip {
  opacity: 0;
  filter: none;
  transform: scale(0.3) rotate(-14deg);
  transition: opacity 0.4s ease, transform 0.7s var(--ax-ease-spring);
}

.ax-js .ax-word.is-lit {
  opacity: 1;
  filter: none;
  transform: none;
}

/* -------------------------------------------------------
   Bento: pillars + numbers
------------------------------------------------------- */
.ax-bento-wrap {
  padding-bottom: 120px !important;
}

.ax-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ax-pillar {
  --px: 50%;
  --py: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--ax-line);
  border-radius: 28px;
  background: #fff;
  transition: transform 0.5s var(--ax-ease-out), box-shadow 0.5s ease, border-color 0.4s ease;
}

.ax-pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(360px circle at var(--px) var(--py), rgba(221, 101, 49, 0.12), transparent 65%);
  transition: opacity 0.4s ease;
}

.ax-pillar:hover {
  border-color: transparent;
  box-shadow: 0 40px 70px -40px rgba(21, 23, 28, 0.4);
}

.ax-pillar:hover::before {
  opacity: 1;
}

.ax-pillar.is-feature {
  grid-row: span 2;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(160deg, var(--ax-base), var(--ax-peach));
}

.ax-pillar.is-feature::before {
  background: radial-gradient(360px circle at var(--px) var(--py), rgba(255, 255, 255, 0.25), transparent 65%);
}

.ax-pillar-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: auto;
  border-radius: 18px;
  font-size: 24px;
  color: var(--ax-base);
  background: rgba(221, 101, 49, 0.1);
  transition: transform 0.6s var(--ax-ease-spring);
}

.ax-pillar:hover .ax-pillar-icon {
  transform: rotate(-8deg) scale(1.08);
}

.is-feature .ax-pillar-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.ax-pillar-title {
  margin: 40px 0 10px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ax-ink);
}

.is-feature .ax-pillar-title {
  font-size: clamp(32px, 3.4vw, 46px);
  color: #fff;
}

.ax-pillar-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ax-muted);
}

.is-feature .ax-pillar-text {
  max-width: 340px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
}

.ax-pillar-num {
  position: absolute;
  right: 28px;
  top: 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ax-line);
}

.is-feature .ax-pillar-num {
  right: -10px;
  top: auto;
  bottom: -40px;
  z-index: -1;
  font-size: 220px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.12);
}

.ax-stats {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-radius: 28px;
  background: var(--ax-night);
  color: #fff;
}

.ax-stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 10px;
  padding: 34px 26px;
}

.ax-stat + .ax-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ax-stat dt {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ax-stat dd {
  margin: 0;
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------
   Values (accordion)
------------------------------------------------------- */
.ax-values {
  padding: 120px 0 !important;
  background: #fff;
}

.ax-values-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: start;
}

.ax-values-head {
  position: sticky;
  top: 130px;
}

.ax-values-sub {
  max-width: 380px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ax-muted);
}

.ax-value-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ax-line);
}

.ax-value {
  position: relative;
  border-bottom: 1px solid var(--ax-line);
}

/* Progress-style underline that sweeps across the open item */
.ax-value::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ax-base), var(--ax-peach));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ax-ease-out);
}

.ax-value.is-open::after {
  transform: scaleX(1);
}

.ax-value-head {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 30px 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--ax-ink);
  cursor: pointer;
}

.ax-value-num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ax-muted);
  transition: color 0.3s ease;
}

.ax-value-title {
  flex: 1;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.035em;
  transition: transform 0.5s var(--ax-ease-out), color 0.3s ease;
}

.ax-value-head:hover .ax-value-title {
  transform: translateX(8px);
}

.ax-value-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ax-line);
  border-radius: 50%;
  font-size: 20px;
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, transform 0.6s var(--ax-ease-spring);
}

.ax-value.is-open .ax-value-num {
  color: var(--ax-base);
}

.ax-value.is-open .ax-value-icon {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(140deg, var(--ax-base), var(--ax-peach));
  transform: rotate(-12deg) scale(1.08);
}

.ax-value-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ax-ease-out);
}

.ax-value-body > p {
  overflow: hidden;
  min-height: 0;
  max-width: 560px;
  margin: 0;
  padding-left: 52px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ax-muted);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.6s var(--ax-ease-out), padding 0.6s var(--ax-ease-out);
}

.ax-value.is-open .ax-value-body {
  grid-template-rows: 1fr;
}

.ax-value.is-open .ax-value-body > p {
  padding-bottom: 30px;
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

/* -------------------------------------------------------
   Services (list + live preview, dark band)
------------------------------------------------------- */
.ax-services {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  padding: 120px 0 !important;
  color: #fff;
  background: var(--ax-night);
}

.ax-services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%);
}

.ax-services-glow {
  position: absolute;
  z-index: -1;
  right: -10%;
  top: 20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 101, 49, 0.3), transparent 65%);
  animation: ax-drift 16s ease-in-out infinite;
  pointer-events: none;
}

.ax-services .ax-h2 {
  color: #fff;
}

.ax-services .ax-kicker {
  color: var(--ax-peach);
}

.ax-svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

/* List */
.ax-svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ax-svc-list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ax-svc-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 6px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.4s ease;
}

.ax-svc-row:hover,
.ax-svc-row:focus-visible,
.ax-svc-row.is-active {
  color: #fff;
}

.ax-svc-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 0.4s ease;
}

.ax-svc-row.is-active .ax-svc-num {
  color: var(--ax-peach);
}

.ax-svc-name {
  flex: 1;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  transition: transform 0.5s var(--ax-ease-out);
}

.ax-svc-row.is-active .ax-svc-name {
  transform: translateX(10px);
}

.ax-svc-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  font-size: 18px;
  opacity: 0;
  transform: translateX(-12px) rotate(-45deg);
  transition: opacity 0.4s ease, transform 0.5s var(--ax-ease-out), background-color 0.4s ease, border-color 0.4s ease;
}

.ax-svc-row.is-active .ax-svc-arrow {
  opacity: 1;
  transform: none;
  border-color: transparent;
  background: linear-gradient(140deg, var(--ax-base), var(--ax-peach));
}

/* Autoplay progress along the active row's bottom edge */
.ax-svc-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ax-base), var(--ax-peach));
  transform: scaleX(0);
  transform-origin: left;
}

.ax-svc-row.is-active .ax-svc-bar {
  transform: scaleX(1);
  transition: transform 0.6s var(--ax-ease-out);
}

.ax-svc.is-playing .ax-svc-row.is-active .ax-svc-bar {
  animation: ax-svc-progress var(--ax-svc-duration, 5s) linear forwards;
}

@keyframes ax-svc-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Preview stage */
.ax-svc-stage {
  position: sticky;
  top: 130px;
  display: grid;
}

.ax-svc-panel {
  grid-area: 1 / 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.7s var(--ax-ease-out), visibility 0s linear 0.7s;
}

.ax-svc-panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease 0.1s, transform 0.8s var(--ax-ease-out) 0.1s, visibility 0s;
}

.ax-svc-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -30%;
  top: -40%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 101, 49, 0.35), transparent 65%);
}

.ax-svc-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 34px;
  border-radius: 24px;
  font-size: 32px;
  color: #fff;
  background: linear-gradient(140deg, var(--ax-base), var(--ax-peach));
  box-shadow: 0 20px 40px -16px rgba(221, 101, 49, 0.8);
  transform: scale(0.6) rotate(-20deg);
  transition: transform 0.8s var(--ax-ease-spring) 0.15s;
}

.ax-svc-panel.is-active .ax-svc-icon {
  transform: none;
}

.ax-svc-count {
  position: absolute;
  top: 44px;
  right: 44px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

.ax-svc-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #fff;
}

.ax-svc-text {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.ax-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.ax-svc-tags li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.5s var(--ax-ease-out);
}

.ax-svc-panel.is-active .ax-svc-tags li {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.3s + var(--t) * 70ms);
}

.ax-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--ax-peach);
}

.ax-svc-link i {
  transition: transform 0.4s var(--ax-ease-out);
}

.ax-svc-link:hover {
  color: #fff;
}

.ax-svc-link:hover i {
  transform: translateX(5px);
}

/* -------------------------------------------------------
   Certifications
------------------------------------------------------- */
.ax-trust {
  padding-bottom: 40px !important;
}

.ax-trust-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 44px;
  border: 1px solid var(--ax-line);
  border-radius: 28px;
  background: #fff;
}

.ax-trust-copy .ax-kicker {
  margin-bottom: 10px;
}

/* Auto-scrolling strip; the second track is a copy so the loop is seamless */
.ax-badges {
  display: flex;
  width: calc(100% + 88px);
  margin: 0 -44px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ax-badges-track {
  display: flex;
  flex: none;
  gap: 16px;
  margin: 0;
  padding: 10px 16px 10px 0;
  list-style: none;
  animation: ax-badges-scroll calc(var(--count, 6) * 6s) linear infinite;
}

.ax-badges:hover .ax-badges-track {
  animation-play-state: paused;
}

@keyframes ax-badges-scroll {
  to { transform: translateX(-100%); }
}

.ax-badge {
  display: flex;
  flex: none;
  align-items: center;
  width: 320px;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: var(--ax-paper);
  transition: transform 0.5s var(--ax-ease-out), background-color 0.3s ease, box-shadow 0.4s ease;
}

.ax-badge:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -26px rgba(21, 23, 28, 0.45);
}

.ax-badge-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 16px;
  font-size: 26px;
  color: var(--ax-base);
  background: #fff;
}

.ax-badge-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ax-badge-mark.is-wide {
  width: 112px;
  padding: 0 10px;
}

.ax-badge-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ax-ink);
}

.ax-badge-text {
  display: block;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ax-muted);
}

/* -------------------------------------------------------
   Team teaser
------------------------------------------------------- */
.ax-team {
  padding: 0 0 40px !important;
}

.ax-team-card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 34px;
  border: 1px solid var(--ax-line);
  border-radius: 28px;
  background: #fff;
  color: var(--ax-ink);
  transition: border-color 0.4s ease, box-shadow 0.5s ease;
}

.ax-team-card:hover {
  color: var(--ax-ink);
  border-color: transparent;
  box-shadow: 0 40px 70px -40px rgba(21, 23, 28, 0.4);
}

.ax-avatars {
  display: flex;
  flex: none;
}

.ax-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 62px;
  height: 62px;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--ax-ink), #4b5160);
  transition: transform 0.5s var(--ax-ease-spring), margin 0.5s var(--ax-ease-out);
}

.ax-avatar:nth-child(odd) {
  background: linear-gradient(140deg, var(--ax-base), var(--ax-peach));
}

.ax-avatar + .ax-avatar {
  margin-left: -16px;
}

.ax-team-card:hover .ax-avatar + .ax-avatar {
  margin-left: 6px;
}

.ax-team-card:hover .ax-avatar {
  transform: translateY(-4px);
  transition-delay: calc(var(--i) * 50ms);
}

.ax-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ax-team-copy {
  flex: 1;
}

.ax-team-sub {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  color: var(--ax-muted);
}

.ax-team-go {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  background: var(--ax-ink);
  transition: background-color 0.3s ease, transform 0.5s var(--ax-ease-out);
}

.ax-team-card:hover .ax-team-go {
  background: var(--ax-base);
  transform: rotate(45deg);
}

/* -------------------------------------------------------
   CTA
------------------------------------------------------- */
.ax-cta {
  padding: 40px 0 120px !important;
}

.ax-cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 64px 60px;
  border-radius: 32px;
  color: #fff;
  background: var(--ax-night);
}

.ax-cta-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  top: -120%;
  width: 60%;
  height: 300%;
  background: radial-gradient(circle, rgba(221, 101, 49, 0.45), transparent 60%);
  animation: ax-drift 12s ease-in-out infinite;
}

.ax-cta-rings {
  position: absolute;
  z-index: -1;
  right: 8%;
  top: 50%;
}

.ax-cta-rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  opacity: 0;
  animation: ax-ring 6s ease-out infinite;
}

.ax-cta-rings span:nth-child(2) { animation-delay: 2s; }
.ax-cta-rings span:nth-child(3) { animation-delay: 4s; }

@keyframes ax-ring {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

.ax-cta-card h2 {
  max-width: 620px;
  margin: 0 0 8px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
}

.ax-cta-card p {
  margin: 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
}

/* -------------------------------------------------------
   Page entrance and scroll reveal (only hidden once JS runs)
------------------------------------------------------- */
.ax-js .ax-rise {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 1.1s var(--ax-ease-out);
  transition-delay: calc(var(--ax-d, 0) * 110ms + 100ms);
}

.ax-js .ax-line > .ax-rise {
  display: inline-block;
  opacity: 1;
  transform: translateY(105%);
}

.ax-js .ax-ready .ax-rise,
.ax-js .ax-ready .ax-line > .ax-rise {
  opacity: 1;
  transform: none;
}

.ax-js .ax-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.9s var(--ax-ease-out), box-shadow 0.5s ease, border-color 0.4s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}

.ax-js .ax-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Interactive cards respond instantly once revealed */
.ax-js .ax-reveal.is-visible:hover {
  transition-delay: 0s;
}

/* -------------------------------------------------------
   Responsive
------------------------------------------------------- */
@media (max-width: 1199px) {
  .ax-stat {
    padding: 28px 18px;
  }
}

@media (max-width: 991px) {
  .ax-hero {
    padding: 150px 0 120px !important;
  }

  .ax-hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .ax-collage {
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .ax-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ax-pillar.is-feature {
    grid-row: auto;
    grid-column: span 2;
  }

  .ax-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ax-stat:nth-child(3) {
    border-left: 0;
  }

  .ax-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ax-values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ax-values-head {
    position: static;
  }

  .ax-svc {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ax-story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ax-story-side {
    position: static;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .ax-story-side .ax-kicker {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .ax-seal {
    width: 120px;
    height: 120px;
  }

  .ax-seal-core {
    width: 60px;
    height: 60px;
  }

  .ax-seal-core img {
    width: 30px;
    height: 30px;
  }

  .ax-story-meter {
    flex: 1;
    width: auto;
  }

  .ax-svc-stage {
    position: static;
    order: -1;
  }

  .ax-story,
  .ax-values,
  .ax-services {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
  }
}

@media (max-width: 767px) {
  .ax-hero {
    padding: 130px 0 100px !important;
  }

  .ax-lead {
    font-size: 16px;
  }

  .ax-actions {
    flex-direction: column;
  }

  .ax-actions .ax-btn {
    width: 100%;
  }

  .ax-float {
    font-size: 12px;
  }

  .ax-float-2 {
    left: 0;
  }

  .ax-story {
    padding: 70px 0 50px !important;
  }

  .ax-bento-wrap {
    padding-bottom: 70px !important;
  }

  .ax-bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ax-pillar,
  .ax-pillar.is-feature,
  .ax-stats {
    grid-column: auto;
  }

  .ax-pillar {
    min-height: 0;
    padding: 26px;
    border-radius: 24px;
  }

  .ax-pillar-title {
    margin-top: 28px;
  }

  .is-feature .ax-pillar-num {
    font-size: 150px;
    bottom: -24px;
  }

  .ax-stat {
    padding: 24px 18px;
  }

  .ax-values,
  .ax-services {
    padding: 70px 0 !important;
  }

  .ax-value-head {
    gap: 14px;
    padding: 22px 0;
  }

  .ax-value-icon {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .ax-value-body > p {
    padding-left: 0;
    font-size: 16px;
  }

  .ax-value.is-open .ax-value-body > p {
    padding-bottom: 22px;
  }

  .ax-svc-row {
    gap: 14px;
    padding: 18px 2px;
  }

  .ax-svc-name {
    font-size: 20px;
  }

  .ax-svc-arrow {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .ax-svc-panel {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .ax-svc-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    border-radius: 18px;
    font-size: 26px;
  }

  .ax-svc-count {
    top: 28px;
    right: 24px;
  }

  /* Keep the preview compact so the list stays close on phones */
  .ax-svc-text {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .ax-svc-tags {
    display: none;
  }

  .ax-trust-card {
    padding: 26px;
    border-radius: 24px;
  }

  .ax-badges {
    width: calc(100% + 52px);
    margin: 0 -26px;
  }

  .ax-badge {
    width: 270px;
  }

  .ax-team-card {
    flex-wrap: wrap;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
  }

  .ax-team-copy {
    flex-basis: 100%;
    order: 3;
  }

  .ax-team-go {
    width: 48px;
    height: 48px;
    margin-left: auto;
  }

  .ax-avatar {
    width: 52px;
    height: 52px;
    font-size: 15px;
  }

  .ax-cta {
    padding: 30px 0 80px !important;
  }

  .ax-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 26px;
    border-radius: 24px;
  }

  .ax-cta-card .ax-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-x *,
  .about-x *::before,
  .about-x *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  /* No auto-scroll: let visitors swipe through the recognitions instead */
  .ax-badges {
    overflow-x: auto;
  }

  .ax-badges-track[aria-hidden] {
    display: none;
  }
}
