/* About page styles. Loaded on the About SAS page only. */

/* Shared / Utilities inside About */
.about-page .sec {
  padding: var(--section-gap) 0;
  padding-bottom: 12vw !important;
}

.about-page .ph {
  overflow: hidden;
  background: var(--sas-navy);
}

.about-page .ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.about-page .zoom:hover img {
  transform: scale(1.04);
}

/* 1. Hero ------------------------------------------------------------ */
.about-hero {
  padding-top: clamp(80px, 9vw, 130px);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: end;
}

.about-hero__title {
  margin: 20px 0 0;
  font-size: clamp(64px, 8.5vw, 120px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--sas-navy);
}

.about-hero__lede {
  max-width: 440px;
  padding-bottom: 14px;
  font-size: 17px;
  line-height: 1.65;
}

.about-hero__banner {
  height: clamp(340px, 45vw, 560px);
  margin-top: clamp(56px, 6vw, 96px);
}

/* 2. Statement ------------------------------------------------------- */
.about-statement {
  padding: clamp(64px, 8vw, 110px) 0;
}

.about-statement__text {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--sas-navy);
}

/* 3. Founder Experience ---------------------------------------------- */
.about-founder-exp {
  padding-top: 0 !important;
}

.about-founder-exp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
}

.about-founder-exp__heading {
  margin: 28px 0 0;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--sas-navy);
}

.about-founder-exp__content {
  padding-top: clamp(16px, 4vw, 48px);
}

.about-founder-exp__career {
  margin-top: 36px;
}

.about-founder-exp__career-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--sas-line);
  align-items: baseline;
}

.about-founder-exp__career-k {
  font-size: 22px;
  font-weight: 300;
  color: var(--sas-navy);
  font-family: var(--font-display);
}

.about-founder-exp__career-v {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sas-ink);
}

.about-founder-exp__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

/* 4. Crew & Staggered Photos ----------------------------------------- */
.about-crew__stagger {
  display: grid;
  grid-template-columns: 6fr 1fr 5fr;
  align-items: start;
}

.about-crew__photo-left {
  aspect-ratio: 4 / 5;
}

.about-crew__lab {
  margin-top: 28px;
}

.about-crew__heading {
  margin: 16px 0 0;
  font-size: 28px;
  font-weight: 300;
  color: var(--sas-navy);
}

.about-crew__sub {
  margin-top: 10px;
}

.about-crew__col-right {
  margin-top: clamp(96px, 14vw, 220px);
}

.about-crew__photo-right {
  aspect-ratio: 3 / 4;
}

.about-crew__window-caption {
  margin-top: 20px;
}

.about-crew__location {
  margin-top: 6px;
  font-size: 14px;
  color: var(--sas-sky);
  font-weight: 500;
}

.about-crew__wide-banner {
  height: clamp(320px, 45vw, 600px);
  margin-top: clamp(88px, 10vw, 150px);
}

/* 5. Commitments ----------------------------------------------------- */
.about-commitments__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}

.about-commitments__title {
  margin-top: 28px;
}

.about-commitments__sub {
  max-width: 460px;
}

.about-commitments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
}

.about-commitments__card {
  padding-top: 28px;
  border-top: 1px solid var(--sas-line-strong);
}

.about-commitments__num {
  font-size: 14px;
  color: var(--sas-sky);
  font-family: var(--font-mono);
  font-weight: 600;
  margin: 0;
}

.about-commitments__card-title {
  margin: 16px 0 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--sas-navy);
}

.about-commitments__card-desc {
  margin-top: 16px;
}

.about-commitments__proof {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--sas-navy);
}

/* 6. Process Flow (Dark Accordion) ----------------------------------- */
.about-flow {
  background: #111111;
  color: var(--sas-white);
  padding: clamp(64px, 6vw, 96px) 0;
}

.about-flow__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-flow__sidebar {
  max-width: 440px;
}

.about-flow__title {
  margin: 24px 0 0;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.12;
  color: var(--sas-white);
}

.about-flow__desc {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #9fb9d5;
}

.about-flow__preview {
  margin-top: 32px;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--sas-line-dark);
  position: relative;
  background: #071a33;
}

.about-flow__preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 240ms ease, transform 400ms ease;
}

.about-flow__preview-img.is-swapping {
  opacity: 0.3;
  transform: scale(0.98);
}

.about-flow__preview-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 18px;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 51, 0.94));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.about-flow__preview-step {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-mono);
}

.about-flow__preview-title {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--sas-white);
  margin-top: 2px;
}

.flowitem {
  border-top: 1px solid var(--sas-line-dark);
  transition: background-color 180ms ease;
}

.flowitem:last-child {
  border-bottom: 1px solid var(--sas-line-dark);
}

.flowbtn {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: none;
  font-family: inherit;
  color: var(--sas-white);
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease;
}

.flowbtn:hover {
  color: var(--sas-sky);
}

.flowbtn .flownum {
  font-size: 14px;
  color: var(--sas-sky);
  font-weight: 600;
  font-family: var(--font-mono);
  transition: color 180ms ease;
}

.flowbtn .flowtitle {
  display: block;
  font-size: 22px;
  font-weight: 400;
  color: inherit;
  transition: color 180ms ease;
}

.flowbtn .flowarr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sas-sky);
  width: 24px;
  flex-shrink: 0;
  transition: color 180ms ease, transform 240ms ease;
}

.flowbtn .flowarr .chev {
  transition: transform 240ms ease;
}

.flowbtn:hover .flowarr {
  color: var(--sas-white);
}

.flowbtn[aria-expanded="true"] .flowarr .chev {
  transform: rotate(180deg);
  color: var(--sas-white);
}

.flowbody {
  padding: 0 32px 24px 76px;
}

.flowbody .body {
  max-width: 520px;
  color: #9fb9d5;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* 7. Why SAS --------------------------------------------------------- */
.about-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
}

.about-why__heading {
  margin: 28px 0 0;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--sas-navy);
}

.about-why__content {
  padding-top: clamp(16px, 4vw, 48px);
}

.about-why__secondary {
  margin-top: 16px;
}

.about-why__bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  margin-top: 36px;
}

.about-why__bullet-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--sas-line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--sas-ink);
}

.about-why__bullet-dash {
  color: var(--sas-sky);
  font-weight: bold;
}

/* 8. Leader / Meet the Founder --------------------------------------- */
.about-leader {
  /*border-top: 1px solid var(--sas-line);*/
  padding-top: 0px;
}

.about-leader__grid {
  display: grid;
  grid-template-columns: 4fr 4fr 4fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-leader__heading {
  margin: 0;
}

.about-leader__cta {
  margin-top: 40px;
}

.about-leader__photo {
  aspect-ratio: 4 / 5;
}

.about-leader__photo img {
  filter: grayscale(1) contrast(1.05);
}

.about-leader__name {
  font-size: 30px;
  font-weight: 400;
  margin: 0;
  color: var(--sas-navy);
  position: relative;
  display: inline-block;
}

.about-leader__role {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sas-navy);
}

.about-leader__bio {
  margin-top: 24px;
}

/* 9. CTA Note -------------------------------------------------------- */
.about-cta__reach-note {
  font-size: 14px;
  margin-bottom: 8px;
  color: #9fb9d5;
}

/* Responsive adjustments -------------------------------------------- */
@media (max-width: 1024px) {
  .about-leader__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-leader__bio-col {
    grid-column: span 2;
    margin-top: 24px;
  }
  .about-commitments__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .about-hero__grid,
  .about-founder-exp__grid,
  .about-why__grid,
  .about-commitments__head,
  .about-flow__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-crew__stagger {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-crew__col-spacer {
    display: none;
  }
  .about-crew__col-right {
    margin-top: 0;
  }

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

  .about-leader__grid {
    grid-template-columns: 1fr;
  }
  .about-leader__bio-col {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .flowbtn {
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    padding: 18px 0;
  }
  .flowbody {
    padding: 0 12px 18px 56px;
  }
}

/* ==== Animation utilities (added) ==== */
.animated {
  opacity: 0;
  animation-fill-mode: both;
  animation-duration: 0.8s;
  animation-timing-function: ease;
}

/* Slide In Up */
@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.animated.slideInUp.is-visible {
  animation-name: slideInUp;
  opacity: 1;
}

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animated.fadeIn.is-visible {
  animation-name: fadeIn;
  opacity: 1;
}

/* Wave (text) – simple left‑right oscillation */
@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
.animated.wave.is-visible {
  animation-name: wave;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}

/* Underline on hover */
.hover-underline {
  position: relative;
  cursor: pointer;
}
.hover-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--sas-sky);
  transition: width 0.3s ease;
}
.hover-underline:hover::after {
  width: 100%;
}

/* Reveal delay helper – use inline style --reveal-delay */
.reveal {
  opacity: 0;
}
.reveal.is-visible {
  opacity: 1;
  transition: opacity 0.4s ease var(--reveal-delay, 0s);
}
/* CTA rotating‑word style – same as Home page */
.cta__rotate {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}
/* ==== End of animation utilities ==== */
