/* ── About Founder page design tokens ────────────────────────────────── */
.af {
  --brand: #16a34a;
  --brand-dark: #15803d;
  --brand-light: #f0fdf4;
  --brand-muted: #bbf7d0;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --cream: #f8faf9;
  --warm-gray: #64748b;
  --light-border: #e2e8f0;
  --af-white: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Dark mode overrides */
.dark .af {
  --brand: #22c55e;
  --brand-dark: #16a34a;
  --brand-light: rgba(22,163,74,0.1);
  --brand-muted: #4ade80;
  --navy: #f8fafc;
  --navy-light: #e2e8f0;
  --cream: #111827;
  --warm-gray: #94a3b8;
  --light-border: #374151;
  --af-white: #111827;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
}

/* ── Full-bleed helper ── */
.af-full {
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .af-full {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 768px) {
  .af-full {
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ── Animations ── */
@keyframes afFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.af-animate-in {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.af-animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section label ── */
.af-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.af-section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO — split layout
   ══════════════════════════════════════════════════════════════════════ */
.af-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  overflow: hidden;
  margin-top: -1rem;
  border-radius: 0.5rem 0.5rem 0 0;
}
@media (min-width: 640px) { .af-hero { margin-top: -1.5rem; } }
@media (min-width: 768px) { .af-hero { margin-top: -2rem; } }

.af-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem 3rem 2rem;
  max-width: 580px;
}

.af-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.5rem;
  animation: afFadeUp 0.6s ease forwards;
}
.af-hero-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.af-hero h1 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  animation: afFadeUp 0.6s ease 0.1s both;
}
.af-hero h1 em {
  font-style: italic;
  color: var(--brand);
}

.af-hero-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
  animation: afFadeUp 0.6s ease 0.2s both;
}

.af-hero-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  animation: afFadeUp 0.6s ease 0.3s both;
}

.af-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.af-meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-gray);
}

.af-meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

/* Hero photo area */
.af-hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--light-border);
  margin: 1rem 1rem 1rem 0;
  box-shadow: 0 18px 40px -34px rgba(15, 23, 42, 0.45);
}
.af-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.af-hero-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--brand-light) 0%, rgba(22,163,74,0.08) 100%);
  color: var(--brand);
}

.af-photo-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2.5px dashed var(--brand-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.af-photo-icon svg { width: 28px; height: 28px; opacity: 0.6; }

.af-photo-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--warm-gray);
  text-align: center;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════════
   STORY
   ══════════════════════════════════════════════════════════════════════ */
.af-story {
  padding: 4rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.af-story h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2rem;
  max-width: 560px;
  letter-spacing: -0.01em;
}
.af-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.af-story-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.af-story-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.af-story-text strong {
  color: var(--navy);
  font-weight: 600;
}
.af-story-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.af-story-image-card {
  border-radius: 18px;
  border: 1px solid var(--light-border);
  background: var(--af-white);
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.45);
  padding: 0.6rem;
}
.af-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  transition: transform 0.5s ease;
}
.af-story-image-card:hover .af-story-image img {
  transform: scale(1.03);
}

.af-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(160deg, var(--brand-light), rgba(22,163,74,0.06));
}

/* ══════════════════════════════════════════════════════════════════════
   VALUES — dark section
   ══════════════════════════════════════════════════════════════════════ */
.af-values {
  background: #0f172a;
  color: #ffffff;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}
.af-values::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22,163,74,0.08) 0%, transparent 70%);
}

.dark .af-values {
  background: #020617;
}

.af-values-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.af-values .af-section-label {
  color: #4ade80;
}
.af-values h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}
.af-values-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 3rem;
}
.af-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.af-value-card {
  padding: 1.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, border-color 0.3s;
}
.af-value-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}
.af-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(22,163,74,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #4ade80;
}
.af-value-icon svg { width: 22px; height: 22px; }
.af-value-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.af-value-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════════════════════════════════════════
   PHOTO STRIP
   ══════════════════════════════════════════════════════════════════════ */
.af-photo-strip-wrap {
  margin-top: 2.75rem;
  margin-bottom: 2.75rem;
}

.af-photo-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(170px, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.1rem);
  max-width: 1220px;
  margin: 0 auto;
}
.af-strip-cell {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--light-border);
  background: linear-gradient(140deg, rgba(22,163,74,0.08), rgba(22,163,74,0.02));
  min-height: 170px;
}
.af-strip-cell:nth-child(1) {
  grid-row: 1 / span 2;
  min-height: 356px;
}
.af-strip-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.af-strip-cell:hover img {
  transform: scale(1.03);
}

.af-strip-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--brand);
  opacity: 0.5;
}
.af-strip-placeholder svg { width: 32px; height: 32px; }
.af-strip-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  max-width: 160px;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════════════
   BEYOND THE NUMBERS
   ══════════════════════════════════════════════════════════════════════ */
.af-beyond {
  padding: 4rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.af-beyond h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2rem;
}
.af-beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.af-beyond-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.af-beyond-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.af-interests-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.af-interest-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--light-border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}
.af-interest-tag:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.af-beyond-media {
  width: 100%;
}
.af-beyond-media--single {
  display: block;
}
.af-beyond-media--grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(160px, 1fr));
  gap: 0.85rem;
}
.af-beyond-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--light-border);
  background: linear-gradient(140deg, rgba(22,163,74,0.08), rgba(22,163,74,0.02));
  min-height: 190px;
}
.af-beyond-media--single .af-beyond-card {
  aspect-ratio: 4/3;
}
.af-beyond-media--grid .af-beyond-card-primary {
  grid-row: 1 / span 2;
  min-height: 340px;
}
.af-beyond-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}
.af-beyond-card-primary img {
  object-position: 38% center;
}
.af-beyond-card:hover img {
  transform: scale(1.03);
}

/* ══════════════════════════════════════════════════════════════════════
   PULL QUOTE
   ══════════════════════════════════════════════════════════════════════ */
.af-quote {
  background: var(--cream);
  padding: 4rem 1rem;
  text-align: center;
}
.dark .af-quote {
  background: rgba(255,255,255,0.02);
}
.af-quote-inner {
  max-width: 640px;
  margin: 0 auto;
}
.af-quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}
.af-quote-text {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.af-quote-attribution {
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════════════ */
.af-cta {
  padding: 4rem 1rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.af-cta h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}
.af-cta p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.af-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.af-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--brand);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.af-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.3);
  color: #ffffff;
}

.af-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.af-btn-secondary:hover {
  background: var(--brand-light);
}

/* ══════════════════════════════════════════════════════════════════════
   BACK LINK
   ══════════════════════════════════════════════════════════════════════ */
.af-back-link-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  border-top: 1px solid var(--light-border);
  padding-top: 2rem;
}
.af-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap 0.2s;
}
.af-back-link:hover { gap: 0.7rem; }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .af-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .af-hero-content {
    padding: 2.5rem 1.5rem;
    max-width: 100%;
  }
  .af-hero-photo {
    aspect-ratio: 4 / 5;
    height: auto;
    margin: 0 1.5rem 1.5rem;
  }
  .af-story-grid,
  .af-beyond-grid {
    grid-template-columns: 1fr;
  }
  .af-story-image { aspect-ratio: 3/2; }
  .af-story-image-card {
    max-width: 620px;
  }
  .af-values-grid { grid-template-columns: 1fr; }
  .af-photo-strip-wrap {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .af-photo-strip {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0.8rem;
  }
  .af-strip-cell,
  .af-strip-cell:nth-child(1) {
    grid-row: auto;
    min-height: 220px;
  }
  .af-beyond-media--grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0.8rem;
  }
  .af-beyond-media--grid .af-beyond-card-primary {
    grid-row: auto;
    min-height: 240px;
  }
  .af-beyond-card {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .af-hero-photo {
    aspect-ratio: 3 / 4;
    margin: 0 1rem 1.25rem;
  }
}
