.mak-as-section {
  --mak-as-copy-width: 42%;
  --mak-as-cap-columns: 4;
  --mak-as-strip-columns: 4;
  width: 100%;
  overflow: hidden;
  color: #0d2b5c;
  font-family: Arial, Helvetica, sans-serif;
}

.mak-as-upper {
  padding: 40px 36px 18px;
  background: #fff;
}

.mak-as-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.mak-as-top {
  display: grid;
  grid-template-columns: minmax(0, var(--mak-as-copy-width)) minmax(0, 1fr);
  align-items: stretch;
  min-height: 560px;
  column-gap: 34px;
}

/* Compact height mode: let the text define the desktop/tablet row height.
   The scene stretches to that row, avoiding artificial space above and below. */
@media (min-width: 768px) {
  .mak-as-section--fit-upper .mak-as-top {
    min-height: 0 !important;
  }

  .mak-as-section--fit-upper .mak-as-scene {
    align-self: stretch;
    height: auto !important;
    min-height: 0;
  }

  .mak-as-section--fit-upper .mak-as-scene > a,
  .mak-as-section--fit-upper .mak-as-scene > img {
    position: absolute;
    inset: 0;
  }
}

.mak-as-top-no-visual {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.mak-as-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
}

.mak-as-eyebrow {
  margin: 0 0 12px;
  color: #1d3f72;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.15px;
  text-transform: uppercase;
}

.mak-as-heading {
  margin: 0 0 22px;
  color: #0d2b5c;
  font-family: inherit;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.2px;
}

.mak-as-description {
  max-width: 610px;
  color: #0d2b5c;
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

/* Elementor typography is generated on the description wrapper. Rich-text
   children can otherwise keep theme or pasted inline typography, making the
   editor controls appear ineffective. Force every nested text node to inherit
   the complete selected typography from the wrapper. */
.mak-as-section .mak-as-description * {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  word-spacing: inherit !important;
  text-align: inherit !important;
  text-decoration: inherit !important;
  text-transform: inherit !important;
}

.mak-as-description p {
  margin: 0 0 18px;
}

.mak-as-description p:last-child {
  margin-bottom: 0;
}

.mak-as-capabilities {
  display: grid;
  grid-template-columns: repeat(var(--mak-as-cap-columns), minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  max-width: 610px;
  gap: 0;
  margin-top: 18px;
}

.mak-as-capability {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 0 12px;
  text-align: center;
}

.mak-as-capability:first-child {
  padding-left: 0;
}

.mak-as-capability:last-child {
  padding-right: 0;
}

.mak-as-capability + .mak-as-capability {
  border-left: 1px solid #c8d7f0;
}

.mak-as-line-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #0d2b5c;
}

.mak-as-line-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mak-as-line-icon svg text {
  fill: currentColor;
  stroke: none;
  font-family: inherit;
  font-size: 8px;
  font-weight: 700;
}

.mak-as-line-icon i,
.mak-as-line-icon svg:not(:only-child) {
  font-size: inherit;
}

.mak-as-line-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mak-as-capability-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 9px;
  font-size: 46px;
}

.mak-as-capability-icon > svg {
  width: 100%;
  height: 100%;
}

.mak-as-capability-title {
  width: 100%;
  margin: 0;
  color: #0d2b5c;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mak-as-button-wrap {
  display: flex;
  margin-top: 28px;
}

.mak-as-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  border: 1px solid #1d3f72;
  border-radius: 3px;
  color: #0d2b5c;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mak-as-button:hover,
.mak-as-button:focus {
  color: #fff;
  background: #0d2b5c;
  text-decoration: none;
  transform: translateY(-2px);
}

.mak-as-button:focus-visible {
  outline: 2px solid #ed1b24;
  outline-offset: 3px;
}

.mak-as-button-icon {
  display: inline-flex;
  align-items: center;
  color: #ed1b24;
  line-height: 1;
}

.mak-as-button-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.mak-as-scene {
  --mak-as-image-y: 50%;
  --mak-as-visual-gradient-angle: 135deg;
  --mak-as-visual-gradient-start: #fff;
  --mak-as-visual-gradient-end: #eef4ff;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  min-width: 0;
  overflow: hidden;
  background-color: transparent;
  background-image: linear-gradient(var(--mak-as-visual-gradient-angle), var(--mak-as-visual-gradient-start) 0%, var(--mak-as-visual-gradient-end) 100%);
}

.mak-as-scene::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(29, 63, 114, 0.07);
  content: "";
  pointer-events: none;
}

.mak-as-scene--transparent-frameless {
  border-color: transparent !important;
  box-shadow: none !important;
}

.mak-as-scene--transparent-frameless::after {
  border-color: transparent;
}

.mak-as-scene > a {
  display: block;
  width: 100%;
  height: 100%;
}

.mak-as-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--mak-as-image-y);
  filter: none;
  transform: scale(1.001);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mak-as-scene:hover img {
  filter: none;
  transform: scale(1.018);
}

.mak-as-story-strip {
  padding: 22px 30px;
  border-top: 1px solid #c8d7f0;
  border-bottom: 1px solid #c8d7f0;
  background: #f2f6fe;
}

.mak-as-story-strip-grid {
  --mak-as-strip-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--mak-as-strip-columns), minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}

.mak-as-story-strip-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  min-width: 0;
  padding: 10px 22px;
  column-gap: 14px;
  background: transparent;
}

.mak-as-story-strip-item:first-child {
  padding-left: 0;
}

.mak-as-story-strip-item:last-child {
  padding-right: 0;
}

.mak-as-story-strip-item + .mak-as-story-strip-item {
  border-left: 1px solid #c8d7f0;
}

.mak-as-story-strip-icon {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  margin-top: 19px;
  color: #1d3f72;
  font-size: 38px;
}

.mak-as-story-strip-icon > svg {
  width: 100%;
  height: 100%;
}

.mak-as-story-content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.mak-as-story-label {
  margin: 0 0 7px;
  color: #1d3f72;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.mak-as-story-title {
  margin: 0;
  color: #0d2b5c;
  font-family: inherit;
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.25px;
  overflow-wrap: anywhere;
}

.mak-as-story-strip-item--experience .mak-as-story-title {
  color: #ed1b24;
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 0.92;
  letter-spacing: -1.2px;
}

.mak-as-story-subtitle {
  margin-top: 5px;
  color: #0d2b5c;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.24;
}

.mak-as-story-description {
  margin-top: 9px;
  color: #344f78;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.42;
}

.mak-as-story-points {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.mak-as-story-point {
  position: relative;
  margin: 0;
  padding-left: 13px;
  color: #344f78;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.mak-as-story-point::before {
  position: absolute;
  top: 0.36em;
  left: 1px;
  width: 5px;
  height: 5px;
  border: 0 solid #ed1b24;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  transform: rotate(-45deg);
}

.mak-as-story-link {
  display: inline-flex;
  grid-column: 2;
  grid-row: 2;
  align-items: center;
  align-self: end;
  justify-self: start;
  gap: 8px;
  margin-top: 11px;
  color: #0d2b5c;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.15px;
  text-decoration: none;
  transition: color 180ms ease;
}

.mak-as-story-link:hover,
.mak-as-story-link:focus {
  color: #ed1b24;
  text-decoration: none;
}

.mak-as-story-link:focus-visible {
  outline: 2px solid #ed1b24;
  outline-offset: 4px;
}

.mak-as-story-link-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #ed1b24;
  font-size: 13px;
  transition: transform 180ms ease;
}

.mak-as-story-link-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.mak-as-story-link:hover .mak-as-story-link-icon,
.mak-as-story-link:focus .mak-as-story-link-icon {
  transform: translateX(3px);
}

.mak-as-story-strip-item--experience .mak-as-story-link:hover .mak-as-story-link-icon,
.mak-as-story-strip-item--experience .mak-as-story-link:focus .mak-as-story-link-icon {
  transform: translateY(3px);
}

.mak-as-restore-control .mak-as-restore-defaults {
  width: 100%;
}

@media (max-width: 1024px) {
  .mak-as-section {
    --mak-as-copy-width: 46%;
    --mak-as-cap-columns: 2;
    --mak-as-strip-columns: 2;
  }

  .mak-as-upper {
    padding-right: 24px;
    padding-left: 24px;
  }

  .mak-as-top {
    min-height: 500px;
    column-gap: 24px;
  }

  .mak-as-heading {
    font-size: clamp(32px, 4.8vw, 46px);
  }

  .mak-as-description {
    font-size: 15px;
  }

  .mak-as-capability:nth-child(3) {
    border-left: 0;
  }

  .mak-as-capability:nth-child(n+3) {
    margin-top: 16px;
  }

  .mak-as-scene {
    height: 500px;
  }

  .mak-as-story-strip {
    padding: 22px 24px;
  }

  .mak-as-story-strip-item {
    padding: 18px 20px;
  }

  .mak-as-story-strip-item:first-child {
    padding-left: 20px;
  }

  .mak-as-story-strip-item:last-child {
    padding-right: 20px;
  }

  .mak-as-story-strip-item:nth-child(odd) {
    border-left: 0;
  }

  .mak-as-story-strip-item:nth-child(n+3) {
    border-top: 1px solid #c8d7f0;
  }
}

@media (max-width: 767px) {
  .mak-as-section {
    --mak-as-cap-columns: 2;
    --mak-as-strip-columns: 1;
  }

  .mak-as-upper {
    padding: 34px 18px 18px;
  }

  .mak-as-top,
  .mak-as-top-no-visual {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    row-gap: 28px;
  }

  .mak-as-copy {
    align-self: auto;
  }

  .mak-as-heading {
    font-size: clamp(30px, 10vw, 42px);
    letter-spacing: -0.5px;
  }

  .mak-as-capability {
    padding-right: 8px;
    padding-left: 8px;
  }

  .mak-as-capability:nth-child(odd) {
    border-left: 0;
  }

  .mak-as-capability:nth-child(n+3) {
    margin-top: 16px;
  }

  .mak-as-button {
    width: 100%;
  }

  .mak-as-scene {
    height: 340px;
  }

  .mak-as-story-strip {
    padding: 14px 16px;
  }

  .mak-as-story-strip-grid {
    gap: 0;
  }

  .mak-as-story-strip-item,
  .mak-as-story-strip-item:first-child,
  .mak-as-story-strip-item:last-child {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 18px 12px;
    column-gap: 12px;
  }

  .mak-as-story-strip-item + .mak-as-story-strip-item,
  .mak-as-story-strip-item:nth-child(odd) {
    border-top: 1px solid #c8d7f0;
    border-left: 0;
  }

  .mak-as-story-strip-icon {
    width: 34px;
    height: 34px;
    margin-top: 17px;
    font-size: 34px;
  }

  .mak-as-story-title {
    font-size: clamp(17px, 5.2vw, 22px);
  }

  .mak-as-story-strip-item--experience .mak-as-story-title {
    font-size: clamp(38px, 12vw, 48px);
  }

  .mak-as-story-link {
    width: auto;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mak-as-button,
  .mak-as-scene img,
  .mak-as-story-link,
  .mak-as-story-link-icon {
    transition: none;
  }

  .mak-as-button:hover,
  .mak-as-button:focus,
  .mak-as-scene:hover img,
  .mak-as-story-link:hover .mak-as-story-link-icon,
  .mak-as-story-link:focus .mak-as-story-link-icon {
    transform: none;
  }
}
