/* Manifest block */
.ax-manifest {
  background: var(--ax-paper);
  padding: var(--ax-sec-pad-l) 0 var(--ax-sec-pad-s);
  position: relative;
  overflow: hidden;
  color: var(--ax-navy);
}

.ax-manifest__inner {
  max-width: var(--ax-maxw);
  margin: 0 auto;
  padding: 0 var(--ax-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: clamp(20px, 3vw, 50px);
  align-items: start;
}

.ax-manifest__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ax-steel);
  writing-mode: vertical-rl;
  white-space: nowrap;
  padding-top: 6px;
  order: 2;
  justify-self: end;
}

.ax-manifest__eyebrow-line {
  display: inline-block;
  width: 1px;
  height: 34px;
  background: rgba(134, 160, 198, 0.55);
  margin-bottom: 14px;
}

.ax-manifest__eyebrow-line--short {
  height: 16px;
  background: rgba(134, 160, 198, 0.35);
  margin-top: 14px;
  margin-bottom: 0;
}

.ax-manifest__eyebrow-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  vertical-align: -1px;
}

.ax-manifest__eyebrow-mark svg {
  width: 9px;
  height: 7.2px;
  flex: 0 0 auto;
  display: block;
  fill: var(--ax-steel);
}

.ax-manifest__body {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 64px);
  align-items: stretch;
}

.ax-manifest__media-col {
  flex: 1 1 clamp(240px, 25vw, 380px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 26px);
}

.ax-manifest__figure {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ax-sand-deep);
}

.ax-manifest__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ax-manifest__meta {
  border-top: 1px solid rgba(53, 59, 102, 0.2);
}

.ax-manifest__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(11px, 1.1vw, 15px) 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(53, 59, 102, 0.12);
}

.ax-manifest__meta-row:last-child {
  border-bottom: 0;
}

.ax-manifest__meta-label {
  color: rgba(53, 59, 102, 0.45);
}

.ax-manifest__copy-col {
  flex: 1 1 min(100%, 540px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(53, 59, 102, 0.16);
  padding-left: clamp(20px, 3vw, 56px);
}

.ax-manifest__fill {
  margin: 0 0 clamp(18px, 2vw, 28px);
  font-weight: 500;
  font-size: clamp(25px, 3vw, 48px);
  line-height: 1.24;
  letter-spacing: -0.022em;
  color: rgba(53, 59, 102, 0.2);
  text-wrap: pretty;
}

.ax-manifest__fill [data-fw] {
  color: rgba(53, 59, 102, 0.2);
  transition: color 620ms ease;
}

.ax-manifest__fill [data-fw].is-on {
  color: var(--ax-navy);
}

.ax-manifest__lead {
  margin: 0;
  max-width: 56ch;
  font-size: 16.5px;
  line-height: 1.68;
  color: rgba(53, 59, 102, 0.64);
  text-wrap: pretty;
}

.ax-manifest__stats {
  margin-top: clamp(34px, 4.4vw, 72px);
  width: calc(100% + clamp(18px, 2vw, 28px));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  border-top: 1px solid rgba(53, 59, 102, 0.2);
}

.ax-manifest__stat {
  position: relative;
  padding: clamp(18px, 2vw, 28px);
  border-right: 1px solid rgba(53, 59, 102, 0.12);
}

.ax-manifest__stat:last-child {
  border-right: 0;
}

.ax-manifest__stat-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(53, 59, 102, 0.5);
  margin-bottom: clamp(10px, 1.2vw, 16px);
}

.ax-manifest__stat-value {
  display: block;
  font-weight: 300;
  font-size: clamp(38px, 4.2vw, 72px);
  line-height: 0.84;
  letter-spacing: -0.044em;
  white-space: nowrap;
  margin-left: -0.16em;
  font-variant-numeric: proportional-nums;
  margin-bottom: clamp(12px, 1.4vw, 20px);
  color: var(--ax-navy);
}

.ax-manifest__stat--accent .ax-manifest__stat-value {
  color: var(--ax-steel);
}

.ax-manifest__stat--narrow .ax-manifest__stat-value {
  margin-left: -0.05em;
}

.ax-manifest__stat-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(53, 59, 102, 0.12);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ax-manifest__stat.is-on .ax-manifest__stat-line {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  /* Home: between S and M — S felt tight above the horizontal eyebrow. */
  .ax-manifest:not(.ax-manifest--onas) {
    padding-top: clamp(52px, 6.5vw, 68px);
    padding-bottom: 24px;
  }

  /* Manifest → investments: S-pad + div-pad-top stacked as a void. */
  .ax-manifest:not(.ax-manifest--onas) + .ax-divider .ax-divider__row {
    padding-top: 48px;
  }

  .ax-manifest__inner {
    grid-template-columns: 1fr;
  }

  /* Standard section label: [tick][X] 01 - Manifest [tick] — horizontal */
  .ax-manifest__eyebrow {
    writing-mode: horizontal-tb;
    white-space: nowrap;
    padding: 0 0 14px;
    justify-self: start;
    order: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .ax-manifest__eyebrow-line,
  .ax-manifest__eyebrow-line--short {
    display: inline-block;
    width: 1px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
    background: rgba(134, 160, 198, 0.55);
  }

  .ax-manifest__eyebrow-line--short {
    background: rgba(134, 160, 198, 0.35);
  }

  .ax-manifest__eyebrow-mark {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .ax-manifest__copy-col {
    border-left: 0;
    padding-left: 0;
  }

  /* Flush stats to the same left edge as lead / body copy */
  .ax-manifest__stats {
    width: 100%;
  }

  .ax-manifest__stat {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
}

/* O nas editorial variant */
.ax-manifest--onas {
  padding: var(--ax-sec-pad-l) 0 var(--ax-sec-pad-m);
}

.ax-manifest__inner--onas {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
}

/* Home eyebrow uses order:2 (right rail). On O nas the rail is the FIRST
   column — reset order so the 12-col editorial grid gets the 1fr track. */
.ax-manifest__inner--onas .ax-manifest__eyebrow {
  order: 0;
  justify-self: start;
}

.ax-manifest-onas__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
}

.ax-manifest-onas__heading {
  grid-column: 1 / span 9;
  margin: 0 0 clamp(28px, 4vw, 56px);
  font-weight: 400;
  font-size: clamp(25px, 3vw, 48px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.ax-manifest-onas__copy {
  grid-column: 1 / span 4;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ax-manifest-onas__copy p {
  margin: 0;
  color: rgba(53, 59, 102, 0.72);
  text-wrap: pretty;
}

.ax-manifest-onas__media {
  grid-column: 6 / span 7;
  position: relative;
  margin-right: calc(-1 * var(--ax-gutter));
}

.ax-manifest-onas__figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ax-sand-deep);
}

.ax-manifest-onas__parallax {
  position: absolute;
  top: -7%;
  left: 0;
  right: 0;
  height: 114%;
  will-change: transform;
}

.ax-manifest-onas__parallax img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reference O nas L282: frosted photo badge — blur(22px) saturate(160%). */
.ax-manifest-onas__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  transform: translate(-18%, 30%);
  border-radius: 10px;
  background: rgba(244, 241, 235, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 16px 20px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ax-navy);
  line-height: 1.9;
}

@media (max-width: 900px) {
  .ax-manifest--onas {
    padding-top: var(--ax-sec-pad-m);
  }

  .ax-manifest__inner--onas {
    grid-template-columns: 1fr;
  }

  .ax-manifest-onas__grid {
    grid-template-columns: 1fr;
  }

  .ax-manifest-onas__heading,
  .ax-manifest-onas__copy,
  .ax-manifest-onas__media {
    grid-column: auto;
  }

  .ax-manifest-onas__media {
    margin-right: 0;
  }

  /* Desktop hang (translate -18%) clips off-screen when media is flush to gutter. */
  .ax-manifest-onas__badge {
    left: 12px;
    right: auto;
    bottom: 12px;
    transform: none;
    max-width: calc(100% - 24px);
    padding: 12px 14px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .ax-manifest-onas__parallax {
    position: absolute;
    inset: 0;
    top: 0;
    height: 100%;
    transform: none !important;
  }
}
