/* About Us page sections. Uses the --as-* tokens from artha-services.css. */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.ab-h2 {
  margin: 14px 0 18px;
  font-size: clamp(28px, 2.8vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--as-ink);
}
.ab-h2 em {
  font-style: normal;
  color: var(--as-navy);
  background: linear-gradient(transparent 62%, rgba(255, 184, 0, 0.45) 62%);
}
.ab-h2.is-light {
  color: #fff;
}

/* ---------- who we are ---------- */
.ab-intro {
  padding: clamp(60px, 7vw, 120px) 0;
}
.ab-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: center;
}
.ab-intro-txt p {
  margin: 0 0 14px;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.75;
  color: var(--as-muted);
}
.ab-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ab-intro-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 30px;
  background: var(--as-tint);
  border: 1px solid var(--as-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--as-navy);
}
.ab-intro-tags span::before {
  content: "\2713";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--as-accent);
  font-size: 11px;
  font-weight: 800;
}
.ab-collage {
  position: relative;
  min-height: clamp(380px, 34vw, 520px);
}
.ab-collage img {
  position: absolute;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(11, 37, 69, 0.5);
}
.ab-collage-a {
  top: 0;
  right: 0;
  width: 82%;
  height: 72%;
  object-position: right center;
}
.ab-collage-b {
  left: 0;
  bottom: 0;
  width: 58%;
  height: 52%;
  border: 6px solid #fff;
  object-position: right center;
  transition: transform 0.6s ease;
}
.ab-collage:hover .ab-collage-b {
  transform: translateY(-8px) rotate(-1.5deg);
}
.ab-collage-badge {
  position: absolute;
  right: 4%;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--as-navy);
  color: #fff;
  box-shadow: 0 20px 40px -18px rgba(11, 37, 69, 0.55);
  animation: ab-float 5s ease-in-out infinite;
}
.ab-collage-badge b {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--as-accent);
  color: var(--as-navy);
  font-size: 14px;
}
.ab-collage-badge span {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}
.ab-collage-chip {
  position: absolute;
  left: 6%;
  top: 10%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px -18px rgba(11, 37, 69, 0.4);
  animation: ab-float 6s ease-in-out 1s infinite;
}
.ab-collage-chip b {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: var(--as-navy);
}
.ab-collage-chip span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--as-muted);
}
@keyframes ab-float {
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- the name ---------- */
.ab-name {
  padding: clamp(40px, 5vw, 90px) 0;
}
.ab-name-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  padding: clamp(36px, 5vw, 80px);
  border-radius: 30px;
  background: radial-gradient(600px 320px at 0% 100%, rgba(255, 184, 0, 0.16), transparent 60%), var(--as-navy);
}
.ab-name-word {
  font-size: clamp(120px, 16vw, 260px);
  line-height: 1;
  font-weight: 700;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 2px var(--as-accent);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.35), rgba(255, 184, 0, 0));
  -webkit-background-clip: text;
  background-clip: text;
}
.ab-name-halves {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  margin: 8px 0 24px;
}
.ab-name-halves > div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.ab-name-halves > div:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}
.ab-name-halves b {
  display: block;
  font-size: 22px;
  color: var(--as-accent);
}
.ab-name-halves p {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.ab-name-plus {
  align-self: center;
  font-size: 28px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}
.ab-name-txt blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--as-accent);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
  font-style: italic;
  color: #fff;
}

/* ---------- beliefs ---------- */
.ab-beliefs {
  padding: clamp(50px, 6vw, 100px) 0;
}
.ab-beliefs-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}
.ab-beliefs-head {
  position: sticky;
  top: 130px;
}
.ab-beliefs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--as-line);
}
.ab-beliefs-list li {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--as-line);
  transition: background-color 0.3s ease, padding 0.3s ease, opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ab-beliefs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--as-accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.ab-beliefs-list li:hover {
  background: var(--as-tint);
  padding-left: 22px;
}
.ab-beliefs-list li:hover::before {
  transform: scaleY(1);
}
.ab-beliefs-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--as-navy);
  transition: color 0.3s ease;
}
.ab-beliefs-list li:hover .ab-beliefs-num {
  color: var(--as-navy);
}
.ab-beliefs-list h3 {
  margin: 4px 0 6px;
  font-size: clamp(18px, 1.4vw, 23px);
  font-weight: 700;
  color: var(--as-ink);
}
.ab-beliefs-list p {
  margin: 0;
  color: var(--as-muted);
}

/* ---------- who we help: life path ---------- */
.ab-people {
  padding: clamp(50px, 6vw, 100px) 0;
  background: var(--as-tint);
  overflow: hidden;
}
.ab-people-head {
  max-width: 640px;
  margin: 0 auto clamp(28px, 3.4vw, 52px);
  text-align: center;
}
.ab-people-head .as-eyebrow {
  justify-content: center;
}
.ab-people-head p {
  margin: 12px 0 0;
  color: var(--as-muted);
}
.ab-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: 1fr auto 1fr;
  column-gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* the road the stops sit on */
.ab-path::before {
  content: "";
  grid-row: 2;
  grid-column: 1 / -1;
  align-self: center;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--as-accent), var(--as-navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
}
.ab-path.is-in::before {
  transform: scaleX(1);
}
.ab-stop {
  display: contents;
}
.ab-stop:nth-child(1) > * { grid-column: 1; }
.ab-stop:nth-child(2) > * { grid-column: 2; }
.ab-stop:nth-child(3) > * { grid-column: 3; }
.ab-stop:nth-child(4) > * { grid-column: 4; }
.ab-stop:nth-child(5) > * { grid-column: 5; }
.ab-stop-dot {
  position: relative;
  z-index: 1;
  grid-row: 2;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 14px 0;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--as-accent);
  color: var(--as-navy);
  box-shadow: 0 0 0 8px var(--as-tint);
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d), background-color 0.3s ease, color 0.3s ease;
}
.ab-path.is-in .ab-stop-dot {
  transform: scale(1);
}
.ab-stop-card {
  position: relative;
  grid-row: 1;
  align-self: end;
  padding: 20px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--as-line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease var(--d), transform 0.6s ease var(--d), box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-stop:nth-child(even) .ab-stop-card {
  grid-row: 3;
  align-self: start;
  transform: translateY(-16px);
}
/* small stem from card to the road */
.ab-stop-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: var(--as-line);
}
.ab-stop:nth-child(even) .ab-stop-card::after {
  top: auto;
  bottom: 100%;
}
.ab-path.is-in .ab-stop-card {
  opacity: 1;
  transform: none;
}
.ab-stop:hover .ab-stop-card {
  border-color: var(--as-accent);
  box-shadow: 0 24px 46px -28px rgba(11, 37, 69, 0.45);
}
.ab-stop:hover .ab-stop-dot {
  background: var(--as-navy);
  color: var(--as-accent);
}
.ab-stop-stage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--as-muted);
}
.ab-stop-stage b {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--as-navy);
  color: var(--as-accent);
  letter-spacing: 0;
}
.ab-stop-card h3 {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--as-ink);
}
.ab-stop-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--as-muted);
}
.ab-stop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ab-stop-tags a {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--as-tint);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--as-navy);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ab-stop-tags a:hover {
  background: var(--as-accent);
  color: var(--as-navy);
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .ab-intro-grid,
  .ab-name-box,
  .ab-beliefs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-beliefs-head {
    position: static;
  }
  .ab-name-word {
    font-size: clamp(110px, 26vw, 180px);
  }
}
/* phones and tablets: the path runs down the left side */
@media (max-width: 991px) {
  .ab-path {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 620px;
    margin: 0 auto;
  }
  .ab-path::before {
    position: absolute;
    left: 27px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, var(--as-accent), var(--as-navy));
    transform: scaleY(0);
    transform-origin: top;
  }
  .ab-path.is-in::before {
    transform: scaleY(1);
  }
  .ab-stop {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .ab-stop > * {
    grid-column: auto !important;
  }
  .ab-stop-dot {
    grid-row: 1;
    width: 58px;
    height: 58px;
    margin: 0;
  }
  .ab-stop-card,
  .ab-stop:nth-child(even) .ab-stop-card {
    grid-row: 1;
    transform: translateX(16px);
  }
  .ab-path.is-in .ab-stop-card {
    transform: none;
  }
  .ab-stop-card::after {
    display: none;
  }
}
@media (max-width: 575px) {
  .ab-collage {
    min-height: 340px;
  }
  .ab-collage-badge {
    right: 0;
    bottom: 0;
    padding: 10px 12px;
  }
  .ab-collage-chip {
    left: 0;
    top: 4%;
  }
  .ab-name-box {
    padding: 30px 20px;
    border-radius: 22px;
  }
  .ab-name-halves {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-name-plus {
    display: none;
  }
  .ab-beliefs-list li {
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .ab-beliefs-num {
    font-size: 30px;
  }
  .ab-stop {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }
  .ab-path::before {
    left: 23px;
  }
  .ab-stop-dot {
    width: 50px;
    height: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ab-collage-badge,
  .ab-collage-chip {
    animation: none;
  }
  .ab-path::before,
  .ab-stop-dot,
  .ab-stop-card {
    transform: none !important;
    opacity: 1 !important;
    transition: none;
  }
}
.ab-name .as-eyebrow {
  color: #fff;
}

/* अर्थ: a real Devanagari font so the reph (र्) sits above थ, filled instead of outlined
   (an outline draws every overlapping stroke of the joined letters) */
.ab-name-word {
  font-family: "Noto Sans Devanagari", "Mangal", "Nirmala UI", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  -webkit-text-stroke: 0;
  color: transparent;
  background: linear-gradient(180deg, #FFD15C 0%, var(--as-accent) 55%, #E09E00 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* founder */
.ab-founder {
  padding: 40px 0 80px;
}
.ab-founder-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.ab-founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--as-navy), #1d3f6b);
  color: var(--as-accent);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 2px;
}
.ab-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-founder-role {
  margin: -6px 0 16px;
  font-weight: 600;
  color: #5b6577;
}
.ab-founder-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.ab-founder-facts li {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(11, 37, 69, 0.1);
  background: #fff;
}
.ab-founder-facts b {
  display: block;
  font-size: 20px;
  color: var(--as-navy);
}
.ab-founder-facts span {
  font-size: 13px;
  line-height: 1.4;
  color: #5b6577;
}
@media (max-width: 767px) {
  .ab-founder-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ab-founder-photo {
    max-width: 240px;
  }
  .ab-founder-facts {
    grid-template-columns: 1fr;
  }
}

/* founder monogram (shown until a photo is added) */
.ab-founder-mono {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(420px 300px at 100% 0%, rgba(255, 184, 0, 0.18), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}
.ab-founder-mono b {
  font-size: 84px;
  line-height: 1;
  letter-spacing: 4px;
  color: var(--as-accent);
}
.ab-founder-mono span {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px solid var(--as-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.ab-founder-mono small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* "Who we are" brand panel (replaces the photo collage) */
.ab-brand {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 24px;
  background: radial-gradient(520px 320px at 100% 0%, rgba(255, 184, 0, 0.2), transparent 60%), var(--as-navy);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(11, 37, 69, 0.55);
}
.ab-brand::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border: 26px solid rgba(255, 184, 0, 0.12);
  border-radius: 50%;
}
.ab-brand-logo {
  display: block;
  width: 200px;
  height: auto;
}
.ab-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ab-brand-badge b {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--as-accent);
  color: var(--as-navy);
  font-size: 14px;
}
.ab-brand-badge span {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}
.ab-brand-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-brand-facts li {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ab-brand-facts b {
  display: block;
  font-size: 24px;
  color: var(--as-accent);
}
.ab-brand-facts span {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 575px) {
  .ab-brand-facts { grid-template-columns: 1fr; }
  .ab-brand-badge { margin: 20px 0; }
}

/* Company History as an icon timeline (replaces the photo slider) */
.ab-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
  position: relative;
}
.ab-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--as-accent), rgba(255, 184, 0, 0.2));
}
.ab-timeline li {
  position: relative;
}
.ab-timeline-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--as-navy);
  color: var(--as-accent);
  box-shadow: 0 0 0 6px #fff;
}
.ab-timeline-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--as-line);
  box-shadow: 0 20px 40px -30px rgba(11, 37, 69, 0.35);
}
.ab-timeline-when {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--as-tint);
  color: var(--as-navy);
  font-size: 12.5px;
  font-weight: 700;
}
.ab-timeline-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--as-ink);
}
.ab-timeline-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--as-muted);
}
@media (max-width: 767px) {
  .ab-timeline { grid-template-columns: 1fr; gap: 18px; }
  .ab-timeline::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--as-accent), rgba(255, 184, 0, 0.2)); }
  .ab-timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
  .ab-timeline-card { margin-top: 0; }
}
