/* ============================================================
   TRUESTORY AFRICA — HOME PAGE CSS
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.0) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.70) 75%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.hero__inner {
  max-width: 680px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-red);
}

.hero__label span {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.hero__heading {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: var(--fw-extrabold);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero__heading span {
  color: var(--color-red);
}

.hero__subtext {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Social rail — vertical, right edge */
.hero__social {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.hero__social::before,
.hero__social::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.hero__social a:hover {
  color: var(--color-white);
}

.hero__social svg {
  width: 18px;
  height: 18px;
}

/* Kigali badge — bottom right */
.hero__badge {
  position: absolute;
  bottom: var(--space-8);
  right: clamp(16px, 3vw, 80px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  opacity: 0.75;
}

.hero__badge-icon {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.hero__badge-text {
  text-align: right;
  line-height: 1.3;
}

.hero__badge-text strong {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  color: var(--color-white);
  text-transform: uppercase;
}

.hero__badge-text span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── WHAT WE DO ───────────────────────────────────────────── */
.what-we-do {
  background: var(--color-bg);
  padding-block: var(--space-20);
  border-bottom: 1px solid var(--color-border);
}

.what-we-do__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: start;
}

.what-we-do__left {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.what-we-do__tagline {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: var(--space-8);
}

.what-we-do__tagline em {
  font-style: normal;
  color: var(--color-red);
}

.what-we-do__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ── FEATURED STORIES ─────────────────────────────────────── */
.featured-stories {
  background: var(--color-bg-alt);
  padding-block: var(--space-20);
}

.featured-stories__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-10);
  gap: var(--space-6);
}

.featured-stories__heading {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--color-white);
  max-width: 380px;
  line-height: 1.1;
}

/* Carousel */
.carousel {
  position: relative;
}

.carousel__track-wrap {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.carousel__track {
  display: flex;
  gap: 18px;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel__slide {
  min-width: calc(33.333% - 12px);
  margin-right: 18px;
  flex: 0 0 calc((100% - 36px) / 3);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}

.carousel__btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.carousel__btn svg {
  width: 18px;
  height: 18px;
}

.carousel__btn--prev {
  left: -22px;
}

.carousel__btn--next {
  right: -22px;
}

.carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ── IMPACT STATS ─────────────────────────────────────────── */
.impact-stats {
  background: var(--color-bg);
  padding-block: var(--space-20);
  border-bottom: 1px solid var(--color-border);
}

.impact-stats__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.impact-stats__left h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.impact-stats__left p {
  font-size: 15px;
  color: var(--color-text-secondary);
  max-width: 340px;
}

.impact-stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10) var(--space-12);
}

/* ── ABOUT US ─────────────────────────────────────────────── */
.about-us {
  background: var(--color-bg-alt);
  padding-block: var(--space-20);
}

.about-us__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.about-us__text {}

.about-us__text h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.about-us__text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.about-us__text a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-top: var(--space-4);
  transition: gap var(--transition-fast);
}

.about-us__text a:hover {
  gap: var(--space-3);
}

.about-us__photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-us__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-us__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Logo watermark on photo */
.about-us__photo-watermark {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.about-us__photo-watermark .w-name {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.about-us__photo-watermark .w-sub {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
}

/* .about-us__cta-card styles live in components.css (shared) */
