/* ============================================================================
   about.css  —  About Us page (about.html)
   ----------------------------------------------------------------------------
   Scoped to the `ab-` prefix so nothing here can leak into the homepage or the
   product pages. Reuses the design tokens declared in style.css.

   Sections, in page order:
     1. Page banner            5. Vision (dark band)
     2. Shared section shells   6. Mission pillars
     3. Centred headings        7. S.W.I.F.T. corporate values
     4. Corporate video         8. Closing call to action
     9. Responsive
   ========================================================================== */

/* ============================================================================
   1. PAGE BANNER
   ========================================================================== */
.ab-banner {
  position: relative;
  isolation: isolate;
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  background: #0d0b16;
  overflow: hidden;
}
.ab-banner__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(13, 11, 22, 0.94) 0%,
      rgba(13, 11, 22, 0.78) 45%,
      rgba(13, 11, 22, 0.55) 100%
    ),
    url("../../images/0-mtsc/about/bg02.jpg") center / cover no-repeat;
}
.ab-banner__inner {
  position: relative;
}
.ab-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0.25rem 0 0.6rem;
}
.ab-banner__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.075rem;
  max-width: 48ch;
}

/* Light breadcrumbs on the dark banner */
.breadcrumbs--light,
.breadcrumbs--light a {
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs--light a:hover {
  color: #fff;
}
.breadcrumbs--light [aria-current="page"] {
  color: #fff;
}

/* Angled cut so the banner slices into the section below, echoing the
   diagonal treatment used on the corporate site. */
.ab-banner__cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(30px, 4vw, 60px);
  background: var(--color-surface);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ============================================================================
   2. SECTION SHELLS
   ========================================================================== */
.ab-section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--color-surface);
}
.ab-section--alt {
  background: var(--color-bg);
}
.ab-section--video {
  background: #14111f;
}

/* A comfortable measure for the centred body copy. */
.ab-narrow {
  max-width: 62rem;
}

/* ============================================================================
   3. CENTRED HEADINGS
   ========================================================================== */
.ab-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 0.9rem;
}
.ab-kicker--light {
  color: rgba(255, 255, 255, 0.6);
}
.ab-kicker--left {
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ab-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}
.ab-title--left {
  text-align: left;
  margin-bottom: 2.5rem;
}
.ab-title span {
  display: block;
}
.ab-title--left span {
  display: inline;
}
.ab-title__accent {
  color: var(--color-primary);
}
.ab-title__plain {
  color: var(--color-text);
}
.ab-title--light .ab-title__plain {
  color: #fff;
}
.ab-title--light .ab-title__accent {
  color: var(--color-primary-light);
}

.ab-body {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.ab-body + .ab-body {
  margin-top: 1.4rem;
}

/* Full-width company photo under the background copy */
.ab-figure {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.ab-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--elevation-4);
}

/* ============================================================================
   4. CORPORATE VIDEO
   ----------------------------------------------------------------------------
   Rendered as a click-to-play facade by about.js: the poster frame is a plain
   <img>, and the YouTube iframe only loads once the visitor presses play.
   ========================================================================== */
.ab-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--elevation-8);
}
.ab-video iframe,
.ab-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.ab-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(13, 11, 22, 0.35);
  cursor: pointer;
  transition: background var(--transition);
}
.ab-video__play:hover {
  background: rgba(13, 11, 22, 0.15);
}
.ab-video__play span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 3rem;
  box-shadow: 0 12px 34px rgba(106, 27, 154, 0.5);
  transition: transform var(--transition);
}
.ab-video__play:hover span {
  transform: scale(1.08);
}

/* ============================================================================
   5. VISION  (dark band)
   ========================================================================== */
.ab-vision {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: #0b1020;
  overflow: hidden;
}
.ab-vision__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(9, 12, 26, 0.82), rgba(9, 12, 26, 0.9)),
    url("../../images/0-mtsc/about/bg02.jpg") center / cover no-repeat;
}
.ab-vision__statement {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.9vw, 2rem);
  line-height: 1.35;
  color: #fff;
  text-wrap: balance;
}
.ab-vision__statement strong {
  font-weight: 700;
}

/* ============================================================================
   6. MISSION PILLARS
   ========================================================================== */
.ab-mission {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--color-surface-alt);
}
.ab-mission__statement {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  text-wrap: balance;
}

.ab-mission__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  list-style: none;
  padding: 0;
}

.ab-pillar {
  position: relative;
  /* Room for the icon medallion that straddles the top edge. */
  padding: 3.75rem 1.75rem 2rem;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.ab-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--elevation-4);
}
.ab-pillar__icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  box-shadow: var(--elevation-2);
}
.ab-pillar__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.ab-pillar__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}
.ab-pillar__text {
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================================
   7. S.W.I.F.T. CORPORATE VALUES
   ========================================================================== */
.ab-values {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  counter-reset: none;
}
.ab-value {
  display: grid;
  grid-template-columns: 15rem 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.ab-value:hover {
  border-color: var(--color-primary);
  box-shadow: var(--elevation-2);
  transform: translateX(4px);
}
.ab-value__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
/* Oversized initial, as in the corporate deck. */
.ab-value__word b {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 0.8;
}
.ab-value__text {
  color: var(--color-text-muted);
  line-height: 1.7;
}
.ab-value__label {
  font-weight: 600;
  color: var(--color-text);
}

/* ============================================================================
   8. CLOSING CALL TO ACTION
   ========================================================================== */
.ab-cta {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  background:
    linear-gradient(
      135deg,
      var(--color-primary-dark),
      var(--color-primary) 55%,
      var(--color-primary-light)
    );
  color: #fff;
  overflow: hidden;
}
.ab-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    60% 70% at 80% 10%,
    rgba(255, 255, 255, 0.14),
    transparent 65%
  );
}
.ab-cta .ab-kicker {
  color: rgba(255, 255, 255, 0.75);
  text-transform: none;
  letter-spacing: 0.02em;
}
.ab-cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  margin-bottom: 1.25rem;
}
.ab-cta__text {
  max-width: 62ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}
.ab-cta__btn {
  margin-top: 2.25rem;
  --btn-bg: #fff;
  background: #fff;
  color: var(--color-primary-dark);
}
.ab-cta__btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ============================================================================
   9. RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .ab-mission__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem; /* leave clearance for the overlapping icon medallions */
  }
  .ab-value {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: start;
  }
  .ab-value:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .ab-video__play span {
    width: 64px;
    height: 64px;
    font-size: 2.25rem;
  }
  .ab-cta__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-pillar,
  .ab-value,
  .ab-video__play,
  .ab-video__play span {
    transition: none;
  }
}
