/* =========================================================
 QUICKENED ABOUT SECTION
========================================================= */

.about-section {
  position: relative;
  padding: 120px 0 100px;
  background: #ffffff;
  color: #05225e;
  overflow: hidden;
}

/* =========================================================
   CONTAINER
========================================================= */

.about-container {
  position: relative;
  z-index: 2;

  width: min(1240px, calc(100% - 64px));

  margin: 0 auto;
}

/* =========================================================
   BACKGROUND WATERMARK
========================================================= */

.about-watermark {
  position: absolute;
  z-index: 0;

  right: -35px;
  top: 20px;

  color: rgba(3, 58, 161, 0.025);

  font-size: 600px;
  font-weight: 800;

  line-height: 0.8;
  letter-spacing: -0.12em;

  pointer-events: none;
  user-select: none;
}

/* =========================================================
   HEADER
========================================================= */

.about-header {
  margin-bottom: 62px;
}

.about-eyebrow {
  display: flex;
  align-items: center;

  gap: 14px;

  color: #0646bd;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.22em;
}

.eyebrow-mark {
  position: relative;

  width: 46px;
  height: 1px;

  flex: 0 0 auto;

  background: rgba(3, 58, 161, 0.65);
}

.eyebrow-mark::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #dd031b;

  transform: translateY(-50%);

  box-shadow: 0 0 0 3px rgba(221, 3, 27, 0.08);
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.about-main {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(360px, 0.65fr);

  column-gap: 90px;

  align-items: start;
}

/* =========================================================
   BIG STATEMENT
========================================================= */

.about-statement {
  min-width: 0;

  padding-bottom: 20px;
}

.about-statement h2 {
  max-width: 780px;

  margin: 0;

  color: #05225e;

  font-size: clamp(58px, 6.8vw, 96px);

  font-weight: 700;

  line-height: 0.94;

  letter-spacing: -0.07em;

  text-wrap: balance;
}

.about-statement h2 span {
  color: #0646bd;
}

/* =========================================================
   SIDE CONTENT
========================================================= */

.about-side {
  display: grid;

  grid-template-columns:
    2px
    minmax(0, 1fr);

  column-gap: 30px;

  min-width: 0;

  padding-top: 10px;

  align-items: stretch;
}

/* =========================================================
   SIDE LINE
========================================================= */

.side-line {
  position: relative;

  width: 2px;
  min-height: 100%;

  background: linear-gradient(
    180deg,
    #dd031b 0%,
    #0646bd 48%,
    rgba(3, 58, 161, 0.08) 100%
  );
}

/* Moving signal */

.side-line::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 0;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #dd031b;

  transform: translateX(-50%);

  animation: sideSignal 4s ease-in-out infinite;
}

@keyframes sideSignal {
  0%,
  100% {
    top: 0;
    opacity: 0.45;
  }

  50% {
    top: 72%;
    opacity: 1;
  }
}

/* =========================================================
   SIDE CONTENT
========================================================= */

.side-content {
  min-width: 0;

  max-width: 470px;

  padding-left: 2px;
}

/* =========================================================
   SIDE LABEL
========================================================= */

.side-label {
  display: block;

  margin-bottom: 24px;

  color: #8493aa;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.2em;
}

/* =========================================================
   LEAD PARAGRAPH
========================================================= */

.side-content .side-lead {
  margin: 0 0 26px;

  color: #05225e;

  font-size: 18px;
  font-weight: 500;

  line-height: 1.55;

  letter-spacing: -0.015em;
}

/* =========================================================
   NORMAL PARAGRAPHS
========================================================= */

.side-content p:not(.side-lead) {
  margin: 0 0 18px;

  color: #71829f;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.8;
}

/* =========================================================
   ACTION
========================================================= */

.about-action {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  margin-top: 5px;

  color: #05225e;

  font-size: 11px;
  font-weight: 800;

  text-decoration: none;

  transition: color 0.3s ease;
}

.action-arrow {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border-radius: 50%;

  background: #05225e;

  color: #ffffff;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.about-action:hover {
  color: #0646bd;
}

.about-action:hover .action-arrow {
  background: #0646bd;

  transform: translate(3px, -3px);
}

/* =========================================================
   SERVICES
========================================================= */

.about-services {
  width: 100%;
  max-width: 1160px;

  margin: 96px auto 0;

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid rgba(5, 34, 94, 0.12);

  border-bottom: 1px solid rgba(5, 34, 94, 0.12);
}

.service-item {
  display: flex;

  align-items: center;

  gap: 18px;

  min-width: 0;
  min-height: 78px;

  padding: 0 30px;
}

.service-item:first-child {
  padding-left: 10px;
}

.service-item:last-child {
  padding-right: 10px;
}

.service-item + .service-item {
  border-left: 1px solid rgba(5, 34, 94, 0.1);
}

.service-number {
  flex: 0 0 auto;

  color: #0646bd;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.04em;
}

.service-name {
  min-width: 0;

  color: #05225e;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.15em;

  white-space: nowrap;
}

/* =========================================================
   FOOTER
========================================================= */

.about-footer {
  width: 100%;
  max-width: 1160px;

  margin: 30px auto 0;

  display: flex;

  align-items: center;

  gap: 28px;
}

.footer-line {
  flex: 1;

  min-width: 0;

  height: 1px;

  background: rgba(5, 34, 94, 0.08);
}

.footer-message {
  flex: 0 0 auto;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  color: #8a97aa;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.16em;

  white-space: nowrap;
}

.footer-dot {
  width: 5px;
  height: 5px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #dd031b;
}

.footer-separator {
  color: #c2cad5;
}

.footer-message strong {
  color: #0646bd;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.about-eyebrow,
.about-statement,
.about-side,
.about-services,
.about-footer {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section.is-visible .about-eyebrow {
  opacity: 1;

  transform: translateY(0);
}

.about-section.is-visible .about-statement {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.1s;
}

.about-section.is-visible .about-side {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.18s;
}

.about-section.is-visible .about-services {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.3s;
}

.about-section.is-visible .about-footer {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.4s;
}
/* =========================================================
   LARGE DESKTOP
   1200px+
========================================================= */

@media (min-width: 1200px) {
  .about-section {
    padding-top: 125px;
    padding-bottom: 105px;
  }

  .about-header {
    margin-bottom: 64px;
  }

  .about-main {
    column-gap: 100px;
  }

  /* Lower sections stay slightly inset */
  .about-services {
    width: calc(100% - 40px);
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-footer {
    width: calc(100% - 40px);
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   LAPTOP
   1001px — 1199px

   Intentionally wide.
   This is the only range where the lower section
   is allowed to use the full available width.
========================================================= */

@media (max-width: 1199px) and (min-width: 1001px) {
  .about-container {
    width: min(1120px, calc(100% - 56px));
  }

  .about-main {
    grid-template-columns:
      minmax(0, 1.1fr)
      minmax(320px, 0.7fr);

    column-gap: 65px;
  }

  .about-statement h2 {
    font-size: clamp(56px, 6.5vw, 82px);
  }

  .side-content {
    max-width: 430px;
  }

  /* FULL WIDTH ON LAPTOP */

  .about-services {
    width: 100%;
    max-width: 100%;

    margin-top: 82px;
    margin-left: 0;
    margin-right: 0;
  }

  .service-item {
    padding: 0 18px;

    gap: 15px;
  }

  .service-item:first-child {
    padding-left: 10px;
  }

  .service-item:last-child {
    padding-right: 10px;
  }

  .about-footer {
    width: 100%;
    max-width: 100%;

    margin-left: 0;
    margin-right: 0;
  }
}

/* =========================================================
   TABLET
   768px — 1000px
========================================================= */

@media (max-width: 1000px) and (min-width: 768px) {
  .about-section {
    padding: 100px 0 85px;
  }

  .about-container {
    width: calc(100% - 56px);
  }

  .about-header {
    margin-bottom: 50px;
  }

  .about-main {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(285px, 0.62fr);

    column-gap: 45px;
  }

  .about-statement h2 {
    font-size: clamp(50px, 6.5vw, 72px);

    line-height: 0.95;
  }

  .about-side {
    column-gap: 22px;
  }

  .side-content {
    max-width: 390px;
  }

  .side-label {
    margin-bottom: 19px;
  }

  .side-content .side-lead {
    margin-bottom: 21px;

    font-size: 16px;

    line-height: 1.6;
  }

  .side-content p:not(.side-lead) {
    margin-bottom: 16px;

    font-size: 12px;

    line-height: 1.75;
  }

  /* ==========================================
     TABLET SERVICES
  ========================================== */

  .about-services {
    width: calc(100% - 32px);
    max-width: none;

    margin-top: 70px;
    margin-left: auto;
    margin-right: auto;

    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-item {
    min-height: 70px;

    gap: 13px;

    padding: 0 14px;
  }

  .service-item:first-child {
    padding-left: 12px;
  }

  .service-item:last-child {
    padding-right: 12px;
  }

  .service-name {
    font-size: 8px;

    letter-spacing: 0.12em;
  }

  /* ==========================================
     TABLET FOOTER
  ========================================== */

  .about-footer {
    width: calc(100% - 32px);
    max-width: none;

    margin-left: auto;
    margin-right: auto;
  }

  .about-watermark {
    right: -100px;

    top: 130px;

    font-size: 450px;
  }
}

/* =========================================================
   MOBILE
   481px — 767px
========================================================= */

@media (max-width: 767px) {
  .about-section {
    padding: 85px 0 75px;
  }

  .about-container {
    width: calc(100% - 40px);
  }

  .about-header {
    margin-bottom: 40px;
  }

  .about-eyebrow {
    gap: 12px;

    font-size: 9px;

    letter-spacing: 0.18em;
  }

  .eyebrow-mark {
    width: 34px;
  }

  .about-main {
    grid-template-columns: 1fr;

    row-gap: 48px;

    column-gap: 0;
  }

  .about-statement {
    padding-bottom: 0;
  }

  .about-statement h2 {
    max-width: 680px;

    font-size: clamp(46px, 12.5vw, 68px);

    line-height: 0.95;

    letter-spacing: -0.065em;
  }

  .about-side {
    grid-template-columns:
      2px
      minmax(0, 1fr);

    column-gap: 22px;

    padding-top: 0;
  }

  .side-line {
    min-height: 100%;
  }

  .side-content {
    max-width: none;

    padding-left: 1px;
  }

  .side-label {
    margin-bottom: 20px;

    font-size: 8px;
  }

  .side-content .side-lead {
    margin-bottom: 22px;

    font-size: 17px;

    line-height: 1.6;
  }

  .side-content p:not(.side-lead) {
    margin-bottom: 17px;

    font-size: 12.5px;

    line-height: 1.8;
  }

  .about-action {
    margin-top: 4px;
  }

  .action-arrow {
    width: 33px;
    height: 33px;
  }

  /* =======================================================
     MOBILE SERVICES

     Important:
     20px breathing space on BOTH sides.
  ======================================================= */

  .about-services {
    width: calc(100% - 24px);
    max-width: none;

    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;

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

  .service-item {
    min-height: 64px;

    gap: 12px;

    padding: 0 14px;
  }

  .service-item:first-child {
    padding-left: 10px;
  }

  .service-item:nth-child(2) {
    padding-right: 10px;
  }

  .service-item:nth-child(3) {
    padding-left: 10px;

    border-left: none;

    border-top: 1px solid rgba(5, 34, 94, 0.1);
  }

  .service-item:nth-child(4) {
    padding-right: 10px;

    border-top: 1px solid rgba(5, 34, 94, 0.1);
  }

  .service-name {
    font-size: 8px;

    letter-spacing: 0.1em;
  }

  /* =======================================================
     WATERMARK
  ======================================================= */

  .about-watermark {
    right: -110px;

    top: 190px;

    font-size: 350px;
  }

  /* =======================================================
     MOBILE FOOTER
  ======================================================= */

  .about-footer {
    width: calc(100% - 24px);
    max-width: none;

    display: block;

    margin-top: 26px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-line {
    display: block;

    width: 100%;
  }

  .footer-message {
    justify-content: center;

    margin: 16px 0;

    flex-wrap: wrap;

    white-space: normal;

    text-align: center;
  }
}

/* =========================================================
   SMALL MOBILE
   376px — 480px
========================================================= */

@media (max-width: 480px) {
  .about-section {
    padding: 72px 0 62px;
  }

  .about-container {
    width: calc(100% - 32px);
  }

  .about-header {
    margin-bottom: 36px;
  }

  .about-main {
    row-gap: 42px;
  }

  .about-statement h2 {
    font-size: clamp(42px, 12.2vw, 54px);

    line-height: 0.96;
  }

  .about-side {
    column-gap: 18px;
  }

  .side-content .side-lead {
    margin-bottom: 20px;

    font-size: 16px;

    line-height: 1.62;
  }

  .side-content p:not(.side-lead) {
    margin-bottom: 16px;

    font-size: 12px;

    line-height: 1.78;
  }

  .about-action {
    gap: 10px;

    font-size: 10px;
  }

  .action-arrow {
    width: 32px;
    height: 32px;
  }

  /* ==========================================
     SMALL MOBILE SERVICES
  ========================================== */

  .about-services {
    width: calc(100% - 20px);

    margin-top: 52px;
    margin-left: auto;
    margin-right: auto;

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

  .service-item {
    min-height: 60px;

    gap: 10px;

    padding-left: 10px;
    padding-right: 10px;
  }

  .service-item:first-child,
  .service-item:nth-child(3) {
    padding-left: 8px;
  }

  .service-item:nth-child(2),
  .service-item:nth-child(4) {
    padding-right: 8px;
  }

  .service-number {
    font-size: 8px;
  }

  .service-name {
    font-size: 7.5px;

    letter-spacing: 0.08em;
  }

  /* ==========================================
     WATERMARK
  ========================================== */

  .about-watermark {
    right: -80px;

    top: 210px;

    font-size: 280px;
  }

  /* ==========================================
     SMALL MOBILE FOOTER
  ========================================== */

  .about-footer {
    width: calc(100% - 20px);

    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-message {
    gap: 7px;

    font-size: 7px;

    letter-spacing: 0.12em;
  }
}

/* =========================================================
   VERY SMALL MOBILE
   320px — 375px
========================================================= */

@media (max-width: 375px) {
  .about-section {
    padding: 62px 0 55px;
  }

  .about-container {
    width: calc(100% - 28px);
  }

  .about-eyebrow {
    gap: 10px;

    font-size: 8px;

    letter-spacing: 0.15em;
  }

  .eyebrow-mark {
    width: 28px;
  }

  .about-header {
    margin-bottom: 32px;
  }

  .about-main {
    row-gap: 38px;
  }

  .about-statement h2 {
    font-size: 40px;

    letter-spacing: -0.06em;
  }

  .about-side {
    column-gap: 16px;
  }

  .side-content .side-lead {
    font-size: 15px;

    line-height: 1.62;
  }

  .side-content p:not(.side-lead) {
    font-size: 11.5px;

    line-height: 1.75;
  }

  /* =======================================================
     VERY SMALL SERVICES
  ======================================================= */

  .about-services {
    width: calc(100% - 16px);

    margin-top: 46px;
    margin-left: auto;
    margin-right: auto;

    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:nth-child(2),
  .service-item:nth-child(3),
  .service-item:nth-child(4) {
    min-height: 56px;

    padding-left: 8px;
    padding-right: 8px;

    border-left: none;

    border-top: 1px solid rgba(5, 34, 94, 0.1);
  }

  .service-item:first-child {
    border-top: none;
  }

  .service-item {
    gap: 10px;
  }

  .service-number {
    font-size: 8px;
  }

  .service-name {
    font-size: 7px;

    letter-spacing: 0.06em;
  }

  /* =======================================================
     VERY SMALL FOOTER
  ======================================================= */

  .about-footer {
    width: calc(100% - 16px);

    max-width: none;

    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-message {
    gap: 6px;

    font-size: 6.5px;
  }

  /* =======================================================
     WATERMARK
  ======================================================= */

  .about-watermark {
    right: -70px;

    top: 220px;

    font-size: 230px;
  }
}

/* =========================================================
   LANDSCAPE MOBILE
========================================================= */

@media (max-width: 767px) and (orientation: landscape) {
  .about-section {
    padding-top: 65px;
    padding-bottom: 60px;
  }

  .about-statement h2 {
    max-width: 760px;

    font-size: clamp(42px, 8vw, 58px);
  }

  .about-main {
    row-gap: 38px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .about-eyebrow,
  .about-statement,
  .about-side,
  .about-services,
  .about-footer {
    opacity: 1;

    transform: none;

    transition: none;
  }

  .side-line::after {
    animation: none;
  }

  .about-action,
  .action-arrow {
    transition: none;
  }
}
