/*
 * BLUEBERRY GROUP — About page
 * Page-specific styles only. Shared typography and tokens live in
 * Shared foundations and shell components are enqueued before this file.
 */

/* 1. Page tokens and foundations */

.about-page {
  background: var(--blueberry-deep);
  color: var(--blueberry-ink);
}

.about-page main {
  background: var(--blueberry-white);
}

.about-page .shell {
  width: min(var(--blueberry-container), calc(100% - 48px));
  margin-inline: auto;
}

/* 2. Page hero and navigation */

.about-page .hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(var(--blueberry-deep-rgb), 0.88), rgba(var(--blueberry-deep-rgb), 0.48)),
    url("../../branding-profile/about.webp")
      center calc(50% + var(--hero-shift, 0px)) / cover;
  color: var(--blueberry-white);
}

.about-page .page-title {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 400px;
  width: min(var(--blueberry-container), calc(100% - 48px));
  margin-inline: auto;
  padding-block: 78px 88px;
  flex-direction: column;
  justify-content: center;
}

.about-page .page-title > span {
  color: var(--blueberry-on-dark);
  font-size: var(--blueberry-text-meta);
}

.about-page .page-title h1 {
  margin: 24px 0 0;
  color: var(--blueberry-white);
  font-size: var(--blueberry-display-lg);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

/* Keep the approved About hero proportions while using the shared hero markup. */
.about-page .internal-page-hero > .page-title.internal-hero-inner {
  width: min(var(--blueberry-container), calc(100% - 48px));
  min-height: 400px;
  padding-top: calc(var(--internal-hero-bottom-space) + var(--blueberry-overlay-header-height));
  padding-bottom: var(--internal-hero-bottom-space);
}

.about-page .internal-page-hero > .page-title.internal-hero-inner > :first-child {
  margin: 0;
}

.about-page .internal-page-hero > .page-title.internal-hero-inner h1 {
  margin: 24px 0 0;
}

/* 3. Who we are */

.about-page .story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(64px, 8vw, 120px);
  padding-block: var(--blueberry-space-section);
}

.about-page .intro-image {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.about-page .intro-image > img {
  width: 100%;
  height: 620px;
  border-radius: 8px;
  object-fit: cover;
}

.about-page .intro-image aside {
  position: absolute;
  right: -42px;
  bottom: 38px;
  display: grid;
  width: 280px;
  padding: 26px;
  border-radius: 8px;
  background: var(--blueberry-aqua);
  box-shadow: 0 22px 48px rgba(var(--blueberry-deep-rgb), 0.18);
  color: var(--blueberry-white);
}

.about-page .intro-image aside h3 {
  margin: 0 0 13px;
  font-size: var(--blueberry-heading-sm);
}

.about-page .intro-image aside span {
  margin-top: 8px;
  font-size: var(--blueberry-text-meta);
}

.about-page .intro-copy h2 {
  max-width: 650px;
  margin: 20px 0;
  color: var(--blueberry-deep);
  font-size: var(--blueberry-section-title);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.about-page .intro-copy p {
  margin: 0 0 18px;
  color: var(--blueberry-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

/* 4. Mission feature */

.about-page .mission-feature {
  padding-block: 0 var(--blueberry-space-section);
}

.about-page .mission-feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 80px;
  padding: 44px 0 55px;
  border-top: 1px solid var(--blueberry-line);
}

.about-page .mission-feature-head h2 {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--blueberry-deep);
  font-size: var(--blueberry-section-title);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.about-page .mission-feature-head > p {
  max-width: 560px;
  margin: 0;
  color: var(--blueberry-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

.about-page .mission-feature-panel {
  width: min(1380px, calc(100% - 48px));
  margin-inline: auto;
  padding: 58px 0;
  border-radius: 8px;
  background: var(--blueberry-paper);
}

.about-page .mission-feature-inner {
  width: min(var(--blueberry-container), 100%);
  margin-inline: auto;
}

.about-page .mission-feature-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 46px;
}

.about-page .mission-feature-pillars article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--blueberry-aqua);
}

.about-page .mission-feature-pillars article > span {
  padding-top: 3px;
  color: var(--blueberry-aqua);
  font-size: var(--blueberry-text-label);
  letter-spacing: 0.1em;
}

.about-page .mission-feature-pillars h3 {
  margin: 0 0 9px;
  color: var(--blueberry-deep);
  font-size: var(--blueberry-heading-sm);
}

.about-page .mission-feature-pillars p {
  max-width: 470px;
  margin: 0;
  color: var(--blueberry-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

.about-page .mission-feature figure {
  width: calc(100% - 116px);
  position: relative;
  height: 570px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--blueberry-radius-media);
  isolation: isolate;
}

.about-page .mission-feature figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transition: opacity 600ms ease-in-out;
}

.about-page .mission-feature figure img.is-active {
	z-index: 1;
	opacity: 1;
}

.about-page .mission-feature .mission-office-cta {
  position: absolute;
  z-index: 3;
  left: 22px;
  bottom: 22px;
}

/* 5. Vision and values */

.about-page .mv {
  width: 100%;
  max-width: none;
  padding: var(--blueberry-space-section) max(24px, calc((100% - var(--blueberry-container)) / 2));
  background: var(--blueberry-paper);
}

.about-page .mission-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 56px;
}

.about-page .mission-heading h2 {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--blueberry-deep);
  font-size: var(--blueberry-section-title);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.about-page .mission-heading > p {
  margin: 0;
  color: var(--blueberry-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

.about-page .mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: 80px;
}

.about-page .mission-points {
  display: grid;
  gap: 16px;
}

.about-page .mission-points article {
  padding: 28px;
  border: 1px solid rgba(var(--blueberry-navy-rgb), 0.12);
  border-radius: 8px;
  background: var(--blueberry-white);
}

.about-page .mission-points h3 {
  margin: 0 0 11px;
  color: var(--blueberry-deep);
  font-size: var(--blueberry-heading-sm);
}

.about-page .mission-points p {
  margin: 0;
  color: var(--blueberry-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

.about-page .mission-collage {
  position: relative;
  min-height: 650px;
}

.about-page .mission-collage img {
  position: absolute;
  width: 62%;
  height: 520px;
  border-radius: 8px;
  object-fit: cover;
}

.about-page .mission-collage img:first-child {
  top: 0;
  right: 0;
}

.about-page .mission-collage img:last-child {
  bottom: 0;
  left: var(--collage-shift, 20px);
  z-index: 2;
  box-shadow: 0 25px 55px rgba(var(--blueberry-deep-rgb), 0.13);
}

/* 6. Integrated capability */

.about-page .numbers {
  padding: var(--blueberry-space-section) 0 var(--blueberry-space-section-sm);
}

.about-page .capability-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: 0;
  margin-bottom: 56px;
}

.about-page .capability-heading .section-tag {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.about-page .capability-heading h2 {
  max-width: 900px;
  margin: 20px 0 0;
  color: var(--blueberry-deep);
  font-size: var(--blueberry-section-title);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.about-page .capability-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--blueberry-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

/* 7. Process */

.about-page .process {
  --process-progress: 14.28%;
  padding: var(--blueberry-space-section) max(24px, calc((100% - var(--blueberry-container)) / 2));
  background: var(--blueberry-paper);
  color: var(--blueberry-deep);
}

.about-page .process-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  align-items: end;
  column-gap: 80px;
  row-gap: 20px;
  margin-bottom: 56px;
}

.about-page .process .section-tag {
  grid-column: 1 / -1;
  width: max-content;
  margin-bottom: 0;
}

.about-page .process h2 {
  max-width: 760px;
  margin: 0;
  color: var(--blueberry-deep);
  font-size: var(--blueberry-section-title);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.about-page .process-head > p {
  max-width: 470px;
  margin: 0;
  color: var(--blueberry-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

.about-page .process-explorer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 7vw, 100px);
  padding-top: 5px;
}

.about-page .process-explorer::before,
.about-page .process-explorer::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  content: "";
}

.about-page .process-explorer::before {
  right: 0;
  background: rgba(var(--blueberry-navy-rgb), 0.12);
}

.about-page .process-explorer::after {
  width: var(--process-progress);
  background: var(--blueberry-aqua);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page .process-nav {
  display: grid;
  padding-top: 34px;
}

.about-page .process-nav button {
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--blueberry-line);
  border-radius: 0;
  background: transparent;
  color: var(--blueberry-muted);
  text-align: left;
  cursor: pointer;
  overflow: visible;
  box-shadow: none;
}

.about-page .process-line-nav button,
.about-page .process-line-nav button:hover,
.about-page .process-line-nav button:focus,
.about-page .process-line-nav button:focus-visible,
.about-page .process-line-nav button[aria-selected="true"] {
  box-shadow: none;
  outline: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.about-page .process-line-nav,
.about-page .process-nav button,
.about-page .process-nav button:hover,
.about-page .process-nav button:focus,
.about-page .process-nav button:focus-visible,
.about-page .process-nav button[aria-selected="true"],
.about-page .process-line-nav button::before,
.about-page .process-line-nav button::after {
  border-radius: 0;
}

.about-page .process-nav button > span {
  color: var(--blueberry-aqua);
  font-size: var(--blueberry-text-meta);
  letter-spacing: 0.08em;
}

.about-page .process-nav button strong {
  font-family: var(--blueberry-font-display);
  font-size: var(--blueberry-text-lead);
  font-weight: 400;
  line-height: 1.25;
}

.about-page .process-nav button i {
  font-style: normal;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.about-page .process-nav button[aria-selected="true"] {
  color: var(--blueberry-deep);
}

.about-page .process-nav button[aria-selected="true"] i {
  opacity: 1;
  transform: none;
}

.about-page .process-detail {
  position: relative;
  display: flex;
  min-height: 535px;
  margin-top: 34px;
  padding: clamp(36px, 5vw, 72px);
  border-radius: 16px;
  background: var(--blueberry-deep);
  color: var(--blueberry-white);
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.about-page .process-detail::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--blueberry-deep-rgb), 0.62), rgba(var(--blueberry-deep-rgb), 0.94));
  content: "";
}

.about-page .process-detail-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  opacity: 1;
  transform: scale(1.01);
  transition: opacity 0.18s ease, transform 0.6s var(--blueberry-ease);
}

.about-page .process-detail.is-changing .process-detail-media {
  opacity: 0;
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .about-page .process-detail-media {
    transition: none;
  }
}

.about-page .process-detail-number {
  color: var(--blueberry-aqua);
  font-size: var(--blueberry-text-label);
  letter-spacing: 0.11em;
}

.about-page .process-detail h3 {
  max-width: 620px;
  margin: auto 0 28px;
  color: var(--blueberry-white);
  font-size: var(--blueberry-display-md);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.about-page .process-detail p {
  max-width: 650px;
  margin: 0;
  color: var(--blueberry-on-dark-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

/* 8. Clients and trust */

.about-page .clients {
  width: 100%;
  max-width: none;
  padding: var(--blueberry-space-section) 0;
  overflow: hidden;
  background: var(--blueberry-white);
  color: var(--blueberry-deep);
}

.about-page .clients-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  width: min(var(--blueberry-container), calc(100% - 48px));
  margin: 0 auto 56px;
}

.about-page .clients-heading h2 {
  max-width: 820px;
  margin: 20px 0 18px;
  color: var(--blueberry-deep);
  font-size: var(--blueberry-section-title);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.about-page .clients-heading > p {
  max-width: 620px;
  margin: 0;
  color: var(--blueberry-muted);
  font-size: var(--blueberry-text-body);
  line-height: var(--blueberry-leading-body);
}

@media (max-width: 900px) {
  .about-page .clients-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.about-page .logo-ribbons {
  display: grid;
  gap: 14px;
}

.about-page .logo-ribbon {
  overflow: hidden;
}

.about-page .logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: client-flow var(--client-logo-speed, 60s) linear infinite;
}

.about-page .logo-ribbon.reverse .logo-track {
  animation-direction: reverse;
}

.about-page .logo-ribbons:hover .logo-track {
  animation-play-state: paused;
}

.about-page .logo-track > .client-logo {
  display: grid;
  flex: 0 0 210px;
  width: 210px;
  height: 132px;
  padding: 20px;
  place-items: center;
  border: 1px solid rgba(var(--blueberry-navy-rgb), 0.15);
  background: var(--blueberry-white);
}

.about-page .logo-track > .client-logo img {
  width: 100%;
  height: 86px;
  object-fit: contain;
}

@keyframes client-flow {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

/* 9. Motion */

.motion-ready .about-page .motion-item {
  opacity: 0;
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.motion-ready .about-page .reveal-up {
  transform: translate3d(0, 34px, 0);
}

.motion-ready .about-page .reveal-left {
  transform: translate3d(-38px, 0, 0);
}

.motion-ready .about-page .reveal-scale {
  transform: scale(0.965);
}

.motion-ready .about-page .motion-item.is-visible {
  opacity: 1;
  transform: none;
}

.about-page .intro-image > img,
.about-page .mission-collage img {
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s ease;
}

.about-page .intro-image:hover > img,
.about-page .intro-image:hover > img {
  transform: scale(1.035);
}

.about-page .process-nav button {
  transition:
    padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease;
}

.about-page .process-nav button:hover,
.about-page .process-nav button:focus-visible {
  padding-left: 8px;
  background: transparent;
}

.about-page .logo-track > .client-logo {
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s ease;
}

.about-page .logo-track > .client-logo:hover {
  z-index: 2;
  border-color: rgba(var(--blueberry-aqua-rgb), 0.45);
  box-shadow: 0 14px 28px rgba(var(--blueberry-deep-rgb), 0.09);
}

/* 11. Responsive */

@media (max-width: 900px) {
  .about-page .story,
  .about-page .mv,
  .about-page .numbers,
  .about-page .process,
  .about-page .clients {
    padding-block: 80px;
  }

  .about-page .mission-feature {
    padding-bottom: 80px;
  }

  .about-page .intro-copy h2,
  .about-page .mission-feature-head h2,
  .about-page .mission-heading h2,
  .about-page .capability-heading h2,
  .about-page .process h2,
  .about-page .clients-heading h2 {
    font-size: var(--blueberry-section-title);
  }

  .about-page .internal-page-hero > .page-title.internal-hero-inner {
    min-height: 360px;
  }

  .about-page .navright {
    gap: 14px;
  }

  .about-page .story,
  .about-page .mission-feature-head,
  .about-page .mission-heading,
  .about-page .capability-heading,
  .about-page .mission-layout,
  .about-page .process {
    grid-template-columns: 1fr;
  }

  .about-page .story,
  .about-page .mission-feature-head,
  .about-page .mission-heading,
  .about-page .mission-layout {
    gap: 50px;
  }

  .about-page .intro-image {
    max-width: 720px;
  }

  .about-page .intro-image aside {
    right: 24px;
  }

  .about-page .mission-feature-pillars {
    gap: 28px;
  }

  .about-page .mission-collage {
    min-height: 600px;
  }

  .about-page .capability-heading .section-tag {
    grid-column: auto;
  }

  .about-page .process-head {
    grid-template-columns: 1fr;
    column-gap: 38px;
    row-gap: 20px;
  }

  .about-page .process .section-tag {
    grid-column: auto;
  }

  .about-page .process-explorer {
    grid-template-columns: 1fr;
  }

  .about-page .process-detail {
    min-height: 430px;
  }
}

@media (max-width: 600px) {
  .about-page .story,
  .about-page .mv,
  .about-page .numbers,
  .about-page .process,
  .about-page .clients {
    padding-block: 64px;
  }

  .about-page .mission-feature {
    padding-bottom: 64px;
  }

  .about-page .shell,
  .about-page .page-title,
  .about-page .clients-heading {
    width: calc(100% - 40px);
  }

  .about-page .page-title {
    min-height: 340px;
    padding-block: 52px;
  }

  .about-page .internal-page-hero > .page-title.internal-hero-inner {
    width: calc(100% - 40px);
    min-height: 340px;
    padding-top: calc(var(--internal-hero-bottom-space) + var(--blueberry-overlay-header-height));
    padding-bottom: var(--internal-hero-bottom-space);
  }

  .about-page .page-title h1 {
    font-size: var(--blueberry-display-sm);
  }

  .about-page .internal-page-hero > .page-title.internal-hero-inner h1 {
    line-height: 0.98;
  }

  .about-page .story {
    gap: 70px;
  }

  .about-page .intro-image > img {
    height: 430px;
  }

  .about-page .intro-image aside {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -48px 12px 0;
  }

  .about-page .intro-copy h2,
  .about-page .mission-feature-head h2,
  .about-page .mission-heading h2,
  .about-page .capability-heading h2,
  .about-page .clients-heading h2 {
    font-size: var(--blueberry-section-title);
  }

  .about-page .mission-feature-panel {
    width: 100%;
    padding: 42px 0;
    border-radius: 0;
  }

  .about-page .mission-feature-inner {
    width: calc(100% - 40px);
  }

  .about-page .mission-feature-pillars {
    grid-template-columns: 1fr;
  }

  .about-page .mission-feature figure {
    width: calc(100% - 40px);
    height: 430px;
  }

  .about-page .mv,
  .about-page .process {
    padding-inline: 20px;
  }

  .about-page .mission-collage {
    min-height: 470px;
  }

  .about-page .mission-collage img {
    width: 72%;
    height: 350px;
  }

.about-page .process h2 {
    font-size: var(--blueberry-section-title);
  }

  .about-page .process-explorer {
    gap: 35px;
  }

  .about-page .process-nav button {
    min-height: 62px;
  }

  .about-page .process-detail {
    min-height: 440px;
    margin-top: 0;
    padding: 34px 28px;
  }

  .about-page .process-detail h3 {
    font-size: var(--blueberry-display-sm);
  }

  .about-page .logo-track > .client-logo {
    flex-basis: 150px;
    width: 150px;
    height: 100px;
    padding: 14px;
  }

  .about-page .logo-track > .client-logo img {
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }

  .about-page .logo-track {
    width: auto;
    padding-inline: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }

  .about-page .logo-track > .client-logo[aria-hidden="true"] {
    display: none;
  }
}

