/* ==========================================================================
   About Page
   Page-specific styles for page-about.php. Kept out of main.css/style.css
   so this page's styles ship only where they're used.
   ========================================================================== */

/* ---- Hero ----
   Full-bleed `about-bg` photo with copy locked to the left column only —
   the right side is left empty on purpose so the photo stays fully
   visible. The dark gradient is horizontal (strong at the left, fading out
   before the midpoint) rather than a flat scrim over the whole image, so
   it never dims the right half. */

.about-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #04070d;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  transform-origin: center center;
  will-change: transform;
}

.about-hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: aboutHeroDrift 18s ease-in-out infinite;
}

.about-hero-glow--cyan {
  top: -14%;
  left: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.24) 0%, transparent 70%);
}

.about-hero-glow--violet {
  bottom: -18%;
  left: 12%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  animation-delay: -9s;
}

@keyframes aboutHeroDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(24px, -16px) scale(1.06);
  }
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.97) 0%, rgba(4, 7, 13, 0.86) 32%, rgba(4, 7, 13, 0.46) 58%, rgba(4, 7, 13, 0.1) 78%, rgba(4, 7, 13, 0) 92%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.5) 0%, rgba(4, 7, 13, 0) 26%, rgba(4, 7, 13, 0) 72%, rgba(4, 7, 13, 0.6) 100%);
}

.about-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 60px 0 60px;
}

.about-hero-content {
  max-width: 800px;
  text-align: left;
}

.about-hero-title {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.25px;
  margin-bottom: 1.5rem;
  margin-top: 0;
  position: relative;
  z-index: 2;
  font-size: clamp(3.5rem, 3rem + 1.25vw, 3.5rem);
  color: #ffffff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.about-hero-title .bold-text {
  font-weight: 800;
  color: #ffffff;
  /* font-style: italic; */
}

.about-hero-description {
  max-width: 720px;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
  font-weight: 600;
  color: #ffffff;
}

.about-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .about-hero-content {
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .about-hero-inner {
    padding: 140px 0 56px;
  }

  .about-hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 7, 13, 0.25) 0%, rgba(4, 7, 13, 0.55) 45%, rgba(4, 7, 13, 0.94) 100%),
      linear-gradient(90deg, rgba(4, 7, 13, 0.85) 0%, rgba(4, 7, 13, 0.5) 65%, rgba(4, 7, 13, 0.15) 100%);
  }

  .about-hero-content,
  .about-hero-description {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .about-hero-inner {
    padding: 128px 0 48px;
  }

  .about-hero-title {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
  }

  .about-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .about-hero-cta .bc-hero-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-glow {
    animation: none;
  }
}

/* ==========================================================================
   Story — "who we are" section
   White, two-column layout directly below the hero: copy + feature points
   + CTA on the left, a large photo (with a floating stat card) on the
   right. Entrance motion is the sitewide `.scroll-reveal` /
   `.scroll-reveal-group` system (see main.js) — this file only styles the
   resting state; the image's continuous scroll parallax is the one bespoke
   animation, handled in about.js.
   ========================================================================== */

.about-story {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: #ffffff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 72px;
}

/* ---- Left: copy, feature points, CTA ---- */

.about-story-content {
  max-width: 560px;
}

.about-story-title {
  margin: 20px 0 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  color: #0b1220;
}

.about-story-highlight {
  background: linear-gradient(120deg, #00c2ff 0%, #00c2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-story-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-story-copy p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(15, 23, 42, 0.68);
}

.about-story-copy strong {
  color: #0b1220;
  font-weight: 800;
}

.about-story-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 36px;
}

.about-story-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-story-feature-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(0, 194, 255, 0.1);
  color: #00c2ff;
}

.about-story-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.about-story-feature-label {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #0b1220;
}

.about-story-cta {
  margin-top: 40px;
}

/* ---- Right: photo + floating stat card ---- */

.about-story-visual {
  position: relative;
}

.about-story-image-frame {
  position: relative;
  box-shadow: 0 40px 90px -30px rgba(15, 23, 42, 0.35);
}

.about-story-image-frame img {
  border-radius: 28px;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.12);
  transform-origin: center center;
  will-change: transform;
}

.about-story-card {
  position: absolute;
  left: 0%;
  bottom: 8%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px -18px rgba(15, 23, 42, 0.3);
}

.about-story-card-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 194, 255, 0.12);
  color: #00c2ff;
}

.about-story-card-icon svg {
  width: 21px;
  height: 21px;
}

.about-story-card-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(15, 23, 42, 0.55);
}

.about-story-card-value {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 800;
  color: #0b1220;
}

/* ---- Responsive ---- */

@media (max-width: 1200px) {
  .about-story-card {
    left: 0;
  }
}

@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-story-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }

  .about-story-copy {
    text-align: left;
  }

  .about-story-features {
    text-align: left;
  }

  .about-story-cta {
    display: flex;
    justify-content: center;
  }

  .about-story-visual {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .about-story {
    padding: 60px 0;
  }

  .about-story-features {
    grid-template-columns: 1fr;
  }

  .about-story-card {
    left: 4%;
    max-width: calc(100% - 8%);
    padding: 14px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-story-image-frame img {
    transform: none;
  }
}

/* ==========================================================================
   Our Core Team
   Dark section directly below Story: heading + description centred on top,
   a responsive grid of member cards below. Entrance motion is the sitewide
   `.scroll-reveal-group` / `.scroll-reveal-item` system (see main.js); the
   hover "lift" below is plain CSS, no JS involved.
   ========================================================================== */

.about-team {
  position: relative;
  padding: 110px 0;
  background: #04070d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

/* ---- Top: heading + description ---- */

.about-team-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-team-title {
  margin: 20px 0 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: clamp(1.875rem, 2.8vw, 2.5rem);
  color: #ffffff;
}

.about-team-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.68);
}

/* ---- Below: member card grid ---- */

/* Flex rather than grid, because the roster is seven — an odd count that
   leaves the final row short. CSS Grid would pin those leftover cards to the
   left-hand columns with a hole beside them; wrapped flex items centre the
   short row instead, so the block stays balanced whatever the head count.
   The column count lives in a custom property so the breakpoints below only
   have to restate that one number. */
.about-team-cards {
  --bc-team-gap: 28px;
  --bc-team-cols: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--bc-team-gap);
}

.about-team-card {
  flex: 0 1 calc(
    (100% - (var(--bc-team-cols) - 1) * var(--bc-team-gap)) / var(--bc-team-cols)
  );
  /* Flex items default to min-width:auto, which would let a long name push a
     card wider than its share and break the row. */
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-team-card-photo {
  position: relative;
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(155deg, #101826 0%, #0a0f18 100%);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 380ms ease, box-shadow 380ms ease;
}

.about-team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 500ms ease;
}

.about-team-card-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(0, 194, 255, 0.85);
  background:
    radial-gradient(120% 130% at 30% 10%, rgba(0, 194, 255, 0.16) 0%, transparent 60%),
    radial-gradient(120% 130% at 80% 100%, rgba(124, 58, 237, 0.16) 0%, transparent 60%);
}

/* Card "lift": image scales up, card rises with a stronger cyan-tinted
   shadow, and the social row (hidden by default) fades/slides into view. */
.about-team-card:hover .about-team-card-photo,
.about-team-card:focus-within .about-team-card-photo {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px -20px rgba(0, 194, 255, 0.28), 0 0 0 1px rgba(0, 194, 255, 0.3);
}

.about-team-card:hover .about-team-card-photo img,
.about-team-card:focus-within .about-team-card-photo img {
  transform: scale(1.08);
}

.about-team-card-social {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 13, 0.9) 60%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.about-team-card:hover .about-team-card-social,
.about-team-card:focus-within .about-team-card-social {
  opacity: 1;
  transform: translateY(0);
}

.about-team-card-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(6px);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.about-team-card-social-link:hover,
.about-team-card-social-link:focus-visible {
  background: #00c2ff;
  border-color: #00c2ff;
  color: #021019;
  transform: translateY(-2px);
}

.about-team-card-social-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.about-team-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 2px;
}

.about-team-card-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.about-team-card-role {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.55);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .about-team-grid {
    gap: 44px;
  }

  .about-team-cards {
    --bc-team-cols: 3;
  }
}

@media (max-width: 768px) {
  .about-team {
    padding: 80px 0;
  }

  .about-team-cards {
    --bc-team-gap: 22px;
    --bc-team-cols: 2;
  }
}

@media (max-width: 560px) {
  .about-team-cards {
    --bc-team-cols: 1;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-team-card-photo,
  .about-team-card-photo img,
  .about-team-card-social,
  .about-team-card-social-link {
    transition: none;
  }
}

/* ==========================================================================
   How We Work
   White process section: a centered header, then 5 numbered markers
   riding a curved SVG line, each sitting above its own step card. Card/
   marker entrance is the sitewide `.scroll-reveal-group` system (see
   main.js); the line itself "draws" via a bespoke GSAP stroke-dashoffset
   tween in about.js. Below the desktop breakpoint the row stacks to one
   column and the curved SVG is swapped for a plain vertical dashed
   connector, which needs none of that JS to look correct.
   ========================================================================== */

.how-we-work {
  position: relative;
  padding: 80px 0;
  background: #ffffff;
}

.how-we-work-header {
  max-width: 620px;
  margin: 0 auto 72px;
  text-align: center;
}

.how-we-work-title {
  margin: 20px 0 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  color: #0b1220;
}

.how-we-work-subtitle {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.6);
}

/* ---- Track: curved line + markers + cards ---- */

.how-we-work-grid {
  position: relative;
}

.how-we-work-line {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: visible;
}

.how-we-work-line path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.how-we-work-markers {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.how-we-work-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 194, 255, 0.4);
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.18);
  font-size: 13px;
  font-weight: 800;
  color: #00c2ff;
  transition: transform 320ms ease;
}

/* Offsets trace the curve's actual y-values above (baseline, up, down,
   baseline), so the markers visually sit ON the line rather than just
   near it. */
.how-we-work-marker:nth-child(2) {
  transform: translateY(-14px);
}

.how-we-work-marker:nth-child(3) {
  transform: translateY(14px);
}

.how-we-work-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.how-we-work-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 30px;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.25);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.how-we-work-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.3);
  box-shadow: 0 30px 60px -28px rgba(0, 194, 255, 0.32);
}

.how-we-work-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(0, 194, 255, 0.14), rgba(124, 58, 237, 0.1));
  color: #00c2ff;
  transition: background 320ms ease, color 320ms ease, transform 320ms ease;
}

.how-we-work-step:hover .how-we-work-step-icon {
  background: linear-gradient(155deg, #00c2ff, #00c2ff);
  color: #ffffff;
  transform: scale(1.08);
}

.how-we-work-step-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.how-we-work-step-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0b1220;
}

.how-we-work-step-desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.62);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .how-we-work-line {
    display: none;
  }

  .how-we-work-markers {
    display: none;
  }

  .how-we-work-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 0;
  }

  .how-we-work-step {
    position: relative;
    counter-increment: how-we-work-step;
  }

  .how-we-work-step::before {
    content: counter(how-we-work-step, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1.5px solid rgba(0, 194, 255, 0.4);
    font-size: 12px;
    font-weight: 800;
    color: #00c2ff;
  }

  .how-we-work-steps {
    counter-reset: how-we-work-step;
  }
}

@media (max-width: 768px) {
  .how-we-work {
    padding: 60px 0;
  }

  .how-we-work-header {
    margin-bottom: 48px;
  }

  .how-we-work-steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-we-work-step,
  .how-we-work-step-icon,
  .how-we-work-marker {
    transition: none;
  }
}

/* ==========================================================================
   FAQ
   Re-skins the sitewide `.faq-item` accordion (see main.js "FAQ Accordion
   Handler" and template-parts/home/faq.php for the default boxed-card
   look) for a white-background, single-column layout — scoped entirely
   under `.about-faq-list` so nothing here leaks into the default style.
   The expand/collapse, exclusive-open-at-a-time behavior, and entrance
   motion are all inherited for free (max-height transition + JS toggling
   `.active`; `.scroll-reveal-group` for fade/slide-in) — this file only
   styles the resting/hover/active visuals.
   ========================================================================== */

.about-faq {
  position: relative;
  padding: 0 0 80px;
  background: #ffffff;
}

.about-faq-header {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.about-faq-title {
  margin: 20px 0 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  color: #0b1220;
}

.about-faq-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.6);
}

.about-faq-list.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.about-faq-list .faq-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  box-shadow: 0 16px 40px -28px rgba(15, 23, 42, 0.25);
  transition: border-color 280ms ease, box-shadow 280ms ease, background-color 280ms ease, transform 280ms ease;
}

.about-faq-list .faq-item:hover {
  border-color: rgba(0, 194, 255, 0.35);
  box-shadow: 0 20px 46px -26px rgba(0, 194, 255, 0.28);
}

.about-faq-list .faq-item.active {
  background: rgba(0, 194, 255, 0.04);
  border-color: #00c2ff;
  box-shadow: 0 0 0 1px rgba(0, 194, 255, 0.16), 0 20px 50px -26px rgba(0, 194, 255, 0.3);
}

.about-faq-list .faq-question {
  padding: 22px 24px;
  font-size: 15.5px;
  font-weight: 700;
  color: #0b1220;
}

.about-faq-list .faq-item.active .faq-question {
  color: #00c2ff;
}

.about-faq-chevron {
  flex: none;
  width: 20px;
  height: 20px;
  color: rgba(15, 23, 42, 0.4);
  transition: transform 320ms ease, color 280ms ease;
}

.about-faq-list .faq-item:hover .about-faq-chevron {
  color: #00c2ff;
}

.about-faq-list .faq-item.active .about-faq-chevron {
  color: #00c2ff;
  transform: rotate(45deg);
}

.about-faq-list .faq-answer-inner {
  padding: 0 24px 24px;
  color: rgba(15, 23, 42, 0.62);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .about-faq {
    padding: 0 0 60px;
  }

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

  .about-faq-list .faq-question {
    padding: 18px 18px;
    font-size: 14.5px;
    gap: 12px;
  }

  .about-faq-list .faq-answer-inner {
    padding: 0 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-faq-list .faq-item,
  .about-faq-chevron {
    transition: none;
  }
}