/* ================================================================
   Panacea — About Page
   Aesthetic: editorial narrative · refined trust · authoritative light
   ================================================================ */

:root {
  --ab-green:      #02a650;
  --ab-green-dark: #013d1d;
  --ab-green-mid:  #015a28;
  --ab-green-soft: #e6f5ed;
  --ab-ink:        #080f09;
  --ab-ink-2:      #1a2a1e;
  --ab-paper:      #f8faf7;
  --ab-paper-2:    #ffffff;
  --ab-mute:       #6b8070;
  --ab-border:     #dde8df;
  --ab-display:    'Fraunces', Georgia, serif;
  --ab-ui:         'Montserrat', sans-serif;
  --ab-body:       'Work Sans', sans-serif;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.ab-hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(155deg, rgba(1,61,29,0.78) 0%, rgba(2,10,4,0.91) 100%),
    url('../img/panacea-headquaters-asokwa.jpg') center/cover no-repeat;
  overflow: hidden;
}

.ab-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Large year watermark */
.ab-hero-year {
  position: absolute;
  right: -0.05em;
  bottom: 80px;
  font-family: var(--ab-display);
  font-size: clamp(160px, 22vw, 340px);
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  letter-spacing: -0.04em;
}

.ab-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: max(100px, 14vh) 56px 56px;
}

.ab-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ab-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ab-green);
  margin-bottom: 24px;
}
.ab-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--ab-green);
}

.ab-hero-title {
  font-family: var(--ab-display);
  font-size: clamp(52px, 8.5vw, 114px);
  font-weight: 300;
  line-height: 1.02;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  max-width: 900px;
}
.ab-hero-title em {
  font-style: italic;
  color: var(--ab-green);
}

.ab-hero-sub {
  font-family: var(--ab-body);
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.66);
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}

/* Hero stats bar */
.ab-hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
}

.ab-hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ab-hero-stat:last-child { border-right: none; }

.ab-hero-stat b {
  font-family: var(--ab-display);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.ab-hero-stat span {
  font-family: var(--ab-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
}

/* ── Story section ─────────────────────────────────────────────── */
.ab-story {
  background: var(--ab-paper-2);
  padding: 100px 0 80px;
}
.ab-story-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  grid-template-rows: auto 1fr;
  gap: 0 64px;
  align-items: start;
}

.ab-story-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}
.ab-story-label span:first-child {
  font-family: var(--ab-display);
  font-size: 64px;
  font-weight: 300;
  color: var(--ab-green-soft);
  line-height: 1;
  letter-spacing: -0.04em;
}
.ab-story-label span:last-child {
  font-family: var(--ab-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ab-mute);
}

.ab-story-body {}
.ab-story-lede {
  font-family: var(--ab-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ab-green-dark);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.ab-story-body p {
  font-family: var(--ab-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ab-ink-2);
  margin-bottom: 18px;
}
.ab-story-body a {
  color: var(--ab-green);
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.ab-story-aside {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
}
.ab-stat-card {
  background: var(--ab-paper);
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  padding: 22px 24px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.ab-stat-card:hover {
  border-color: var(--ab-green);
  box-shadow: 0 4px 20px rgba(2,166,80,0.10);
}
.ab-stat-num {
  font-family: var(--ab-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--ab-green-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}
.ab-stat-label {
  font-family: var(--ab-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-mute);
  margin-top: 6px;
}

/* ── Mission / Vision split ────────────────────────────────────── */
.ab-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.ab-mv-panel {
  display: flex;
  align-items: center;
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
}

.ab-mv-mission {
  background: var(--ab-green-dark);
}
.ab-mv-mission::after {
  content: '"';
  position: absolute;
  right: -0.1em;
  bottom: -0.2em;
  font-family: var(--ab-display);
  font-size: 24rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
}

.ab-mv-vision {
  background: var(--ab-green-soft);
}
.ab-mv-vision::after {
  content: '◎';
  position: absolute;
  right: -0.05em;
  bottom: -0.1em;
  font-size: 20rem;
  line-height: 1;
  color: rgba(1,61,29,0.05);
  pointer-events: none;
}

.ab-mv-content {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.ab-mv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ab-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ab-mv-mission .ab-mv-eyebrow {
  color: rgba(255,255,255,0.5);
}
.ab-mv-mission .ab-mv-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.ab-mv-vision .ab-mv-eyebrow {
  color: var(--ab-green-mid);
}
.ab-mv-vision .ab-mv-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ab-green);
}

.ab-mv-content h2 {
  font-family: var(--ab-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.ab-mv-mission .ab-mv-content h2 { color: #fff; }
.ab-mv-vision  .ab-mv-content h2 { color: var(--ab-green-dark); }

.ab-mv-content p {
  font-family: var(--ab-body);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.ab-mv-mission .ab-mv-content p { color: rgba(255,255,255,0.7); }
.ab-mv-vision  .ab-mv-content p { color: var(--ab-ink-2); }

.ab-mv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ab-mv-list li {
  font-family: var(--ab-body);
  font-size: 14.5px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.ab-mv-list li::before {
  content: '→';
  color: var(--ab-green);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── RISE Values ───────────────────────────────────────────────── */
.ab-rise {
  background: var(--ab-paper-2);
  padding: 96px 0 80px;
}

.ab-rise-head {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 56px 56px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ab-border);
  margin-bottom: 0;
}

.ab-rise-eyebrow {
  font-family: var(--ab-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ab-mute);
}

.ab-rise-title {
  font-family: var(--ab-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ab-green-dark);
  line-height: 1;
  margin: 0;
}

.ab-rise-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--ab-border);
}

.ab-rise-card {
  position: relative;
  padding: 52px 40px 48px;
  border-right: 1px solid var(--ab-border);
  border-bottom: 1px solid var(--ab-border);
  overflow: hidden;
  background: var(--ab-paper-2);
  transition: background 0.3s ease;
}
.ab-rise-card:hover {
  background: var(--ab-green-dark);
}

/* Giant background letter */
.ab-rise-letter {
  position: absolute;
  right: -0.08em;
  bottom: -0.15em;
  font-family: var(--ab-display);
  font-size: 14rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(1,61,29,0.05);
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease;
  letter-spacing: -0.04em;
}
.ab-rise-card:hover .ab-rise-letter {
  color: rgba(255,255,255,0.04);
}

.ab-rise-num {
  font-family: var(--ab-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ab-green);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.ab-rise-value {
  font-family: var(--ab-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  color: var(--ab-green-dark);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.ab-rise-card:hover .ab-rise-value {
  color: #fff;
}

.ab-rise-card p {
  font-family: var(--ab-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ab-mute);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.ab-rise-card:hover p {
  color: rgba(255,255,255,0.65);
}

/* Accent top border on hover */
.ab-rise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ab-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ab-rise-card:hover::before {
  transform: scaleX(1);
}

/* ── Locations strip ───────────────────────────────────────────── */
.ab-locations {
  background: var(--ab-green-dark);
  padding: 80px 0 0;
  overflow: hidden;
}

.ab-locations-head {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 56px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.ab-loc-eyebrow {
  display: block;
  font-family: var(--ab-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ab-green);
  margin-bottom: 12px;
}

.ab-locations-head h2 {
  font-family: var(--ab-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}
.ab-locations-head h2 em {
  font-style: italic;
  color: var(--ab-green);
}

.ab-loc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ab-ui);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ab-loc-cta:hover {
  background: var(--ab-green);
  border-color: var(--ab-green);
  color: #fff;
}
.ab-loc-cta span {
  transition: transform 0.2s ease;
}
.ab-loc-cta:hover span {
  transform: translateX(3px);
}

/* Image strip */
.ab-img-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0;
}
.ab-img-strip::-webkit-scrollbar { display: none; }

.ab-strip-img {
  flex-shrink: 0;
  width: clamp(260px, 28vw, 400px);
  height: 280px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.ab-strip-img:hover {
  filter: brightness(1) saturate(1.05);
  z-index: 2;
  position: relative;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ab-story-inner {
    grid-template-columns: 160px 1fr 240px;
    gap: 0 40px;
    padding: 0 40px;
  }
  .ab-rise-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-rise-card:last-child { border-right: 1px solid var(--ab-border); }
}

@media (max-width: 900px) {
  .ab-hero-inner { padding: max(88px, 12vh) 32px 40px; }
  .ab-hero-stats { flex-wrap: wrap; }
  .ab-hero-stat { flex: 1 0 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .ab-story { padding: 72px 0 56px; }
  .ab-story-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0 32px;
    gap: 32px 0;
  }
  .ab-story-label { flex-direction: row; align-items: baseline; gap: 12px; }
  .ab-story-aside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .ab-mv { grid-template-columns: 1fr; }
  .ab-mv-panel { padding: 64px 36px; }

  .ab-rise { padding: 72px 0 56px; }
  .ab-rise-head { padding: 0 32px 40px; }
  .ab-rise-grid { grid-template-columns: 1fr 1fr; padding: 0 32px; }

  .ab-locations-head { padding: 0 32px 36px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .ab-hero-stat { flex: 1 0 50%; }
  .ab-rise-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .ab-rise-head { padding: 0 20px 32px; flex-direction: column; gap: 8px; }
  .ab-story-aside { grid-template-columns: 1fr; }
  .ab-story-inner { padding: 0 20px; }
  .ab-hero-inner { padding: max(80px, 10vh) 20px 32px; }
  .ab-mv-panel { padding: 52px 24px; }
}
