.about-story {
  --about-mint: #a7e9ce;
  padding: clamp(56px, 6vw, 88px) 0;
  background: #082436;
  color: #fff;
  scroll-margin-top: 84px;
}

.about-story-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
  max-width: 1440px;
  padding-inline: clamp(22px, 4.2vw, 64px);
  margin-inline: auto;
}

.about-story-copy, .about-story-expect { min-width: 0; }
.about-story-kicker,
.about-story-expect-heading {
  margin: 0;
  color: var(--about-mint);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-story-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.about-story-kicker::before { width: 27px; height: 2px; background: currentColor; content: ""; }
.about-story h2 {
  margin: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.about-story h2 span { color: var(--about-mint); }
main > section.about-story[aria-labelledby] .about-story-description {
  max-width: 43ch;
  margin: 24px 0 0;
  color: #c5d8e1;
  font-size: 16px;
  line-height: 1.8;
}
.about-story-description p { margin: 0; }

.about-story-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.about-story-primary, .about-story-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding: 12px 17px;
  border: 1px solid #658590;
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.about-story-primary { min-width: 177px; border-color: var(--about-mint); background: var(--about-mint); color: #082436; }
.about-story-primary:hover { border-color: #caf5e3; background: #caf5e3; box-shadow: 0 5px 20px rgb(167 233 206 / .12); }
.about-story-secondary:hover { border-color: var(--about-mint); background: #ffffff0a; }
.about-story-actions i { transition: translate .25s; }
.about-story-actions a:hover i { translate: 3px; }
.about-story-actions a:focus-visible { outline: 2px solid var(--about-mint); outline-offset: 5px; }

.about-story-expect-heading { margin-bottom: 28px; }
.about-story-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-story-values li {
  position: relative;
  min-width: 0;
  padding: 28px 24px 30px;
  --about-delay: 100ms;
  --about-float-delay: 0s;
}
.about-story-values li:nth-child(2) { --about-delay: 200ms; --about-float-delay: -1.5s; }
.about-story-values li:nth-child(3) { --about-delay: 300ms; --about-float-delay: -3s; }
.about-story-values li:nth-child(4) { --about-delay: 400ms; --about-float-delay: -4.5s; }
.about-story-values li:nth-child(odd) { border-inline-end: 1px solid #294858; }
.about-story-values li:nth-child(-n+2) { border-bottom: 1px solid #294858; }
.about-story-values li::before {
  position: absolute;
  inset: 6px;
  border-radius: 14px;
  background: radial-gradient(ellipse at 25% 15%, rgb(167 233 206 / .11), transparent 75%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  content: "";
}
.about-story-value { position: relative; transition: transform .3s; }
.about-story-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid #588b83;
  border-radius: 13px;
  background: rgb(167 233 206 / .08);
  color: var(--about-mint);
  font-size: 22px;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.about-story-values h3 {
  margin: 0 0 9px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
.about-story-values p { margin: 0; color: #bfd3df; font-size: 14px; line-height: 1.7; }

/* Reveal only when JavaScript has successfully attached the observer. */
.about-story--animated .about-story-copy,
.about-story--animated .about-story-expect-heading,
.about-story--animated .about-story-values li {
  transition: opacity .7s var(--about-delay, 0ms), transform .7s var(--about-delay, 0ms);
}
.about-story--animated:not(.is-revealed) .about-story-copy,
.about-story--animated:not(.is-revealed) .about-story-expect-heading,
.about-story--animated:not(.is-revealed) .about-story-values li { opacity: 0; transform: translateY(22px); }

@media (hover: hover) and (pointer: fine) {
  .about-story.is-revealed .about-story-icon i {
    animation: about-icon-drift 6s ease-in-out var(--about-float-delay) infinite;
    animation-play-state: paused;
  }
  .about-story.is-in-view .about-story-icon i { animation-play-state: running; }
  .about-story-values li:hover::before { opacity: 1; }
  .about-story-values li:hover .about-story-value { transform: translateY(-5px); }
  .about-story-values li:hover .about-story-icon {
    border-color: var(--about-mint);
    background: var(--about-mint);
    color: #082436;
    box-shadow: 0 0 22px rgb(167 233 206 / .13);
  }
  .about-story-values li:hover .about-story-icon i { animation-play-state: paused; }
}
@keyframes about-icon-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

[dir="rtl"] .about-story h2,
[dir="rtl"] .about-story h3,
[dir="rtl"] .about-story-kicker,
[dir="rtl"] .about-story-expect-heading { letter-spacing: normal; }
[dir="rtl"] .about-story-actions i { transform: rotate(180deg); }
[dir="rtl"] .about-story-actions a:hover i { translate: -3px; }

@media (max-width: 1100px) {
  .about-story-shell { gap: 36px; }
  .about-story-values li { padding: 24px 18px; }
}
@media (max-width: 900px) {
  .about-story-shell { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-story-copy { max-width: 640px; }
  .about-story-description { max-width: 50ch; }
  .about-story-expect-heading { margin-bottom: 12px; }
  .about-story-values li { padding: 28px; }
}
@media (max-width: 600px) {
  .about-story { padding: 44px 0; }
  .about-story-kicker { margin-bottom: 20px; }
  main > section.about-story[aria-labelledby] .about-story-description { font-size: 15px; margin-top: 20px; }
  .about-story-actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .about-story-actions a { font-size: 13px; }
  .about-story-values { grid-template-columns: minmax(0, 1fr); }
  .about-story-values li { padding: 24px 0; }
  .about-story-values li:nth-child(odd) { border-inline-end: 0; }
  .about-story-values li:not(:last-child) { border-bottom: 1px solid #294858; }
  .about-story-values li:last-child { padding-bottom: 0; }
  .about-story-value { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 18px; }
  .about-story-icon { margin: 0; }
  .about-story-values h3 { margin-bottom: 6px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-story .about-story-icon i { animation: none!important; }
  .about-story .about-story-copy,
  .about-story .about-story-expect-heading,
  .about-story .about-story-values li,
  .about-story .about-story-values li::before,
  .about-story .about-story-value,
  .about-story .about-story-icon,
  .about-story .about-story-actions a,
  .about-story .about-story-actions i { transition: none; }
  .about-story--animated:not(.is-revealed) .about-story-copy,
  .about-story--animated:not(.is-revealed) .about-story-expect-heading,
  .about-story--animated:not(.is-revealed) .about-story-values li { opacity: 1; transform: none; }
  .about-story .about-story-values li:hover .about-story-value { transform: none; }
  .about-story .about-story-actions a:hover i { translate: none; }
}
