/* ============================================
   NISTERN — About Page — Direction B
   Light editorial with ghost text depth
   ============================================ */

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO
   ============================================ */
.about-hero {
  background: #050508;
  padding-top: calc(var(--navbar-height) + var(--space-7));
  padding-bottom: var(--space-9);
  position: relative;
  overflow: hidden;
}

.about-hero__ghost {
  position: absolute;
  top: -20px;
  right: -40px;
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 200px);
  font-weight: var(--weight-black);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}

.about-hero__tag {
  margin-bottom: var(--space-5);
}

.about-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  max-width: 800px;
}

.about-hero__headline em {
  font-style: normal;
  color: var(--color-green);
}

.about-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.45);
  line-height: var(--leading-loose);
  max-width: 560px;
  margin-bottom: var(--space-8);
}

.about-hero__rule {
  height: 1px;
  background: linear-gradient(to right, var(--color-black), transparent);
  margin-top: var(--space-7);
}

/* ============================================
   STATS STRIP
   ============================================ */
.about-stats {
  background: var(--color-black);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  padding: 0;
}

.about-stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.about-stat {
  padding: var(--space-6) var(--space-5);
  border-right: 0.5px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.about-stat:last-child {
  border-right: none;
}

.about-stat__num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-green);
  line-height: 1;
}

.about-stat__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: var(--tracking-wide);
  line-height: var(--leading-normal);
}

/* ============================================
   MISSION
   ============================================ */
.about-mission {
  background: #050508;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  position: relative;
  overflow: hidden;
}

.about-mission__ghost {
  position: absolute;
  bottom: -40px;
  left: -20px;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: var(--weight-black);
  color: rgba(255,255,255,0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.about-mission__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-9);
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-mission__left {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-5));
}

.about-mission__headline {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.about-mission__headline em {
  font-style: normal;
  color: var(--color-green);
}

.about-mission__accent-line {
  width: 40px;
  height: 3px;
  background: var(--color-green);
  margin-top: var(--space-4);
  border-radius: 2px;
}

.about-mission__body {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.5);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-5);
}

.about-mission__body:last-child {
  margin-bottom: 0;
}

/* ============================================
   VALUES
   ============================================ */
.about-values {
  background: var(--color-offwhite);
  border-top: 0.5px solid rgba(0,0,0,0.06);
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  position: relative;
  overflow: hidden;
}

.about-values__ghost {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: var(--weight-black);
  color: rgba(0,0,0,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  writing-mode: vertical-rl;
}

.about-values__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  position: relative;
  z-index: 1;
}

.about-values__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--color-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
}

.about-value-card {
  background: var(--color-white);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.about-value-card:hover {
  background: var(--color-white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.about-value-card__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-green);
  letter-spacing: var(--tracking-wider);
}

.about-value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-black);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.about-value-card__desc {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: var(--leading-loose);
}

/* ============================================
   BY THE NUMBERS
   ============================================ */
.about-numbers {
  background: #050508;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.about-numbers__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

/* ============================================
   HOW WE WORK
   ============================================ */
.about-how {
  background: var(--color-offwhite);
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  border-top: 0.5px solid rgba(0,0,0,0.06);
}

.about-how__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: end;
  margin-bottom: var(--space-7);
}

.about-how__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--color-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.about-how__intro {
  font-size: var(--text-base);
  color: var(--color-stone);
  line-height: var(--leading-loose);
}

.about-how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
}

.about-how-card {
  background: var(--color-white);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--transition-fast);
}
.about-how-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.about-how-card__icon {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: var(--color-green);
  line-height: 1;
}

.about-how-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-black);
  line-height: var(--leading-snug);
}

.about-how-card__desc {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: var(--leading-loose);
}

/* ============================================
   TEAM
   ============================================ */
.about-team {
  background: #050508;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.about-team__ghost {
  position: absolute;
  bottom: -30px;
  right: -30px;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: var(--weight-black);
  color: rgba(198,241,53,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.about-team__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  position: relative;
  z-index: 1;
}

.about-team__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.about-team__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.4);
  max-width: 480px;
  line-height: var(--leading-loose);
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}

.about-team-card {
  background: var(--color-black);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: background var(--transition-fast);
}

.about-team-card:hover {
  background: var(--color-charcoal);
}

.about-team-card__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-green);
  letter-spacing: var(--tracking-wider);
}

.about-team-card__dept {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.about-team-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  line-height: var(--leading-loose);
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.about-testimonial {
  background: #050508;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}

/* ============================================
   CTA
   ============================================ */
.about-cta {
  background: #050508;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.about-cta__ghost {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: var(--weight-black);
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.about-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.about-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.about-cta__headline em {
  font-style: normal;
  color: var(--color-green);
}

.about-cta__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.4);
  line-height: var(--leading-loose);
  max-width: 440px;
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */
.testimonials {
  background: #050508;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  overflow: hidden;
}
.testimonials__header { margin-bottom: var(--space-6); }
.testimonials__header-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-5); margin-top: var(--space-3); }
.testimonials__headline { font-family: var(--font-display); font-size: var(--text-5xl); font-weight: var(--weight-black); color: var(--color-white); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.testimonials__nav { display: flex; gap: var(--space-2); flex-shrink: 0; }
.testimonials__nav-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); background: transparent; color: rgba(255,255,255,0.6); font-size: var(--text-lg); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); font-family: var(--font-body); line-height: 1; }
.testimonials__nav-btn:hover { border-color: var(--color-green); color: var(--color-green); background: rgba(198,241,53,0.06); }
.testimonials__track-wrapper { overflow: hidden; width: 100%; position: relative; }
.testimonials__track { display: flex; gap: 16px; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.tcard { flex: 0 0 calc(33.333% - 11px); background: rgba(255,255,255,0.04); border: 0.5px solid rgba(255,255,255,0.07); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); display: flex; flex-direction: column; gap: var(--space-5); position: relative; overflow: hidden; transition: border-color var(--transition-base); box-sizing: border-box; }
.tcard::before { content: '\201C'; position: absolute; top: 16px; right: 20px; font-family: var(--font-display); font-size: 72px; line-height: 1; color: rgba(198,241,53,0.07); font-weight: 900; pointer-events: none; }
.tcard:hover { border-color: rgba(198,241,53,0.18); }
.tcard__quote { font-size: var(--text-sm); color: rgba(255,255,255,0.65); line-height: 1.8; flex: 1; position: relative; z-index: 1; }
.tcard__footer { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 0.5px solid rgba(255,255,255,0.06); position: relative; z-index: 1; }
.tcard__avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(198,241,53,0.1); border: 1px solid rgba(198,241,53,0.2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 10px; font-weight: var(--weight-bold); color: var(--color-green); flex-shrink: 0; }
.tcard__info { flex: 1; min-width: 0; }
.tcard__name { font-family: var(--font-display); font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-white); }
.tcard__role { font-size: var(--text-xs); color: rgba(255,255,255,0.35); margin-top: 2px; }
.tcard__service { font-family: var(--font-display); font-size: 9px; font-weight: var(--weight-bold); color: var(--color-green); background: rgba(198,241,53,0.08); border: 0.5px solid rgba(198,241,53,0.2); padding: 4px 10px; border-radius: 100px; letter-spacing: 0.1em; text-transform: uppercase; flex-shrink: 0; white-space: nowrap; }
.testimonials__dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-5); }
.testimonials__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.25s ease; border: none; padding: 0; outline: none; }
.testimonials__dot.active { background: var(--color-green); width: 24px; border-radius: 3px; }
@media (max-width: 1023px) { .tcard { flex: 0 0 calc(50% - 8px); } .testimonials__headline { font-size: var(--text-4xl); } }
@media (max-width: 767px) { .tcard { flex: 0 0 100%; } .testimonials__headline { font-size: var(--text-3xl); } .testimonials__header-row { flex-direction: column; align-items: flex-start; } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .about-mission__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .about-mission__left {
    position: static;
  }
  .about-how__header {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .about-stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stat:nth-child(2) {
    border-right: none;
  }
  .about-stat:nth-child(3) {
    border-top: 0.5px solid rgba(255,255,255,0.06);
  }
  .about-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-how__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-values__headline,
  .about-team__headline,
  .about-how__headline {
    font-size: var(--text-4xl);
  }
  .tcard {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 767px) {
  .about-hero {
    padding-top: calc(60px + var(--space-5));
    padding-bottom: var(--space-7);
  }
  .about-hero__headline {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.0;
  }
  .about-hero__ghost {
    font-size: 60px;
    opacity: 0.02;
  }
  .about-stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stat {
    padding: var(--space-4) var(--space-4);
  }
  .about-stat__num {
    font-size: var(--text-3xl);
  }
  .about-mission {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }
  .about-mission__headline {
    font-size: clamp(24px, 6vw, 36px);
  }
  .about-values {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }
  .about-values__grid {
    grid-template-columns: 1fr;
  }
  .about-values__headline {
    font-size: clamp(24px, 6vw, 32px);
  }
  .about-values__ghost {
    display: none;
  }
  .about-how {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }
  .about-how__grid {
    grid-template-columns: 1fr;
  }
  .about-how__headline {
    font-size: clamp(24px, 6vw, 32px);
  }
  .about-team {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }
  .about-team__grid {
    grid-template-columns: 1fr;
  }
  .about-team__headline {
    font-size: clamp(24px, 6vw, 32px);
  }
  .about-team__ghost {
    display: none;
  }
  .about-cta__headline {
    font-size: clamp(28px, 7vw, 44px);
  }
  .about-cta__ghost {
    display: none;
  }
  .tcard {
    flex: 0 0 100%;
  }
  .testimonials__header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonials__headline {
    font-size: clamp(22px, 5vw, 30px);
  }
}
