/* ==========================================================================
   ABOUT PAGE STYLING — Responsive Bento Grid with Fluid Scaling
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
  --about-card-bg: #ffffff;
  --about-card-border: rgba(0, 0, 0, 0.08);
  --about-card-hover-border: rgba(0, 0, 0, 0.22);
  --about-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  --about-accent-badge: #eff6ff;
  --about-accent-text: #2563eb;
  --about-muted-text: #4b5563;
  --about-number-num: #94a3b8;
}

html.dark-mode,
body.dark-mode {
  --about-card-bg: #090a0f;
  --about-card-border: rgba(255, 255, 255, 0.08);
  --about-card-hover-border: rgba(255, 255, 255, 0.22);
  --about-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --about-accent-badge: rgba(59, 130, 246, 0.14);
  --about-accent-text: #60a5fa;
  --about-muted-text: #9ca3af;
  --about-number-num: #3f3f46;
}

/* --------------------------------------------------------------------------
   2. PAGE SHELL
   -------------------------------------------------------------------------- */
.about-page-wrapper {
  position: relative;
  z-index: 5;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(12px, 2.5vw, 24px) clamp(44px, 6vw, 84px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 64px);
}

/* Base Card Styling */
.about-card {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: clamp(16px, 2.2vw, 24px);
  box-shadow: var(--about-card-shadow);
  box-sizing: border-box;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  border-color: var(--about-card-hover-border);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION
   -------------------------------------------------------------------------- */
.about-hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(8px, 1.5vw, 20px) 0 0;
}

.about-tag-pill {
  display: inline-block;
  font-size: clamp(10px, 1vw, 11.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--about-accent-text);
  background: var(--about-accent-badge);
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: clamp(12px, 1.8vw, 18px);
}

.about-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vw, 8px);
  line-height: 1.15;
  margin-bottom: clamp(14px, 2vw, 20px);
  max-width: 820px;
  width: 100%;
}

.about-hero-title .font-sans-bold {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
  text-align: center;
}

.about-hero-title .font-serif-italic {
  font-family: var(--font-serif);
  font-size: clamp(25px, 4.8vw, 52px);
  font-style: italic;
  font-weight: 500;
  color: var(--text-main);
  text-align: center;
}

.about-hero-subhead {
  font-size: clamp(13px, 1.25vw, 16px);
  color: var(--about-muted-text);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4. BENTO MANIFESTO GRID
   -------------------------------------------------------------------------- */
.about-bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
  width: 100%;
}

/* Creator main bio */
.bento-creator-card {
  padding: clamp(22px, 3.5vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.creator-header {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 18px);
  margin-bottom: clamp(16px, 2.2vw, 22px);
}

.creator-avatar-wrap {
  width: clamp(52px, 5.5vw, 68px);
  height: clamp(52px, 5.5vw, 68px);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  flex-shrink: 0;
  background: var(--about-card-bg);
}

.creator-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creator-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.creator-badge {
  font-size: clamp(10px, 0.9vw, 11.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--about-muted-text);
  margin-bottom: 2px;
}

.creator-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.creator-bio p {
  font-size: clamp(13px, 1.1vw, 14.5px);
  line-height: 1.68;
  color: var(--about-muted-text);
  margin-bottom: 12px;
}

.creator-bio p:last-child {
  margin-bottom: 0;
}

/* Right stacked items */
.about-bento-side {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 24px);
}

.bento-mini-card {
  padding: clamp(20px, 2.8vw, 32px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-card-label {
  font-size: clamp(10px, 0.85vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--about-accent-text);
  margin-bottom: 6px;
  display: block;
}

.mini-card-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.mini-card-desc {
  font-size: clamp(12px, 1.05vw, 13.5px);
  line-height: 1.58;
  color: var(--about-muted-text);
}

.bento-stats-card {
  padding: clamp(16px, 2.2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-pill-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.stat-pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-big-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-sub-text {
  font-size: clamp(10.5px, 0.9vw, 12px);
  color: var(--about-muted-text);
  font-weight: 500;
  margin-top: 3px;
}

.stat-pill-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. VETTING SECTION (3 Columns)
   -------------------------------------------------------------------------- */
.vetting-section {
  width: 100%;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: clamp(20px, 3.5vw, 36px);
}

.section-eyebrow {
  display: inline-block;
  font-size: clamp(10px, 0.9vw, 11.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--about-muted-text);
  margin-bottom: 4px;
}

.section-main-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.vetting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.vetting-card {
  padding: clamp(20px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
}

.vetting-number-badge {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--about-number-num);
  margin-bottom: clamp(10px, 1.4vw, 16px);
  line-height: 1;
}

.vetting-title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.vetting-desc {
  font-size: clamp(12px, 1.05vw, 13.5px);
  line-height: 1.58;
  color: var(--about-muted-text);
}

/* --------------------------------------------------------------------------
   6. ETHICS / TRANSPARENCY BANNER
   -------------------------------------------------------------------------- */
.ethics-banner-card {
  padding: clamp(22px, 3.5vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 36px);
}

.ethics-content {
  flex: 1;
  min-width: 0;
}

.ethics-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.ethics-desc {
  font-size: clamp(12.5px, 1.1vw, 14px);
  line-height: 1.62;
  color: var(--about-muted-text);
  max-width: 650px;
}

.ethics-cta-wrap {
  flex-shrink: 0;
}

.btn-about-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: clamp(12.5px, 1.1vw, 13.5px);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-height: 42px;
  box-sizing: border-box;
}

.btn-about-secondary:hover {
  background: var(--connect-hover);
  border-color: var(--border-focus);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   7. NEWSLETTER SECTION
   -------------------------------------------------------------------------- */
.about-newsletter-wrapper {
  width: 100%;
}

.articles-newsletter-card {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(16px, 2.4vw, 28px);
  padding: clamp(24px, 4vw, 44px) clamp(16px, 3vw, 32px);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.newsletter-ambient-glow {
  position: absolute;
  left: 10%;
  bottom: -30%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(217, 119, 6, 0.35) 0%,
      rgba(236, 72, 153, 0.3) 40%,
      rgba(59, 130, 246, 0.25) 70%,
      transparent 90%);
  filter: blur(40px);
  pointer-events: none;
}

.newsletter-inner-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

.newsletter-badge-text {
  font-size: clamp(9.5px, 0.9vw, 11px);
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}

.newsletter-headline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: clamp(8px, 1.2vw, 12px);
}

.newsletter-desc {
  font-size: clamp(12px, 1.1vw, 14px);
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.newsletter-capsule-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 9999px;
  padding: 4px 5px 4px clamp(12px, 1.5vw, 18px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.capsule-email-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: clamp(12px, 1.1vw, 13.5px);
  color: #09090b;
  font-family: inherit;
  min-width: 0;
  padding: 6px 0;
}

.capsule-email-input::placeholder {
  color: #9ca3af;
}

.capsule-submit-btn {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: clamp(8px, 1vw, 10px) clamp(14px, 1.8vw, 22px);
  font-size: clamp(11.5px, 1vw, 13px);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.capsule-submit-btn:hover {
  background: #2563eb;
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .about-bento-grid {
    grid-template-columns: 1fr;
  }

  .vetting-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vetting-card:last-child {
    grid-column: span 2;
  }

  .ethics-banner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ethics-cta-wrap {
    width: 100%;
  }

  .btn-about-secondary {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .vetting-grid {
    grid-template-columns: 1fr;
  }

  .vetting-card:last-child {
    grid-column: span 1;
  }

  .creator-header {
    gap: 12px;
  }

  .creator-avatar-wrap {
    width: 48px;
    height: 48px;
  }

  .stat-pill-group {
    flex-direction: row;
    gap: 8px;
  }

  .newsletter-capsule-form {
    flex-direction: column;
    background: transparent;
    padding: 0;
    box-shadow: none;
    gap: 8px;
  }

  .capsule-email-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 9999px;
    background: #ffffff;
    font-size: 13.5px;
    box-sizing: border-box;
  }

  .capsule-submit-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 13.5px;
    box-sizing: border-box;
  }
}