/* ==========================================================================
   CYFENDO ABOUT US PAGE STYLESHEET (/about)
   Streamlined, personal, and high-trust 5-section layout.
   Priorities: Proportionate founder visual focus, clear typography,
   readable paragraphs, restrained accents, WCAG AAA accessible contrast.
   ========================================================================== */

.about-page {
  position: relative;
  width: 100%;
  color: var(--text-primary, #F8FAFC);
  background-color: var(--bg-primary, #030712);
  overflow-x: clip;
}

.about-container {
  width: 100%;
  max-width: var(--site-max-width, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.25rem);
  padding-right: clamp(1.25rem, 4vw, 2.25rem);
  box-sizing: border-box;
}

/* Accessible focus visible indicators */
.about-page a:focus-visible,
.about-page button:focus-visible {
  outline: 2px solid var(--accent-cyan, #00F0FF);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Ensure footer text meets WCAG AA 4.5:1 minimum contrast on dark backgrounds */
body:has(.about-page) .footer-copyright,
body:has(.about-page) .footer-legal-link,
body:has(.about-page) #footer-year {
  color: #94A3B8; /* Contrast > 7:1 against #02050e */
}

body:has(.about-page) .footer-legal-link:hover {
  color: #F8FAFC;
}

/* Section Headings */
.about-section-heading {
  font-family: var(--font-heading, 'Lexend', sans-serif);
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 1.15rem;
  letter-spacing: -0.015em;
}

/* Full width prose column */
.about-prose-column {
  width: 100%;
  max-width: 100%;
}

.about-prose-column p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-secondary, #CBD5E1);
  margin-bottom: 1rem;
}

.about-prose-column p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   1. Opening (Hero / Header)
   Compact opening; text carries the message without a full-screen hero.
   -------------------------------------------------------------------------- */
.about-hero-section {
  position: relative;
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  background: radial-gradient(circle at 50% 0%, rgba(30, 58, 138, 0.14) 0%, rgba(3, 7, 18, 0) 70%);
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan, #00F0FF);
  padding: 0.3rem 0.8rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 1.15rem;
}

.about-hero-title {
  font-family: var(--font-heading, 'Lexend', sans-serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  width: 100%;
  letter-spacing: -0.02em;
}

.about-lead-copy {
  width: 100%;
  max-width: 100%;
}

.about-lead-copy p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(1.0625rem, 1.8vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-secondary, #CBD5E1);
  margin-bottom: 1rem;
}

.about-lead-copy p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   2. Meet our founder
   Main visual focus: photograph, biography, quote, and contact links.
   Proportionate portrait sizing that balances with the shorter bio.
   -------------------------------------------------------------------------- */
.about-founder-section {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  background: rgba(7, 13, 30, 0.4);
}

.about-founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}

.about-founder-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.about-founder-photo-card {
  position: relative;
  background: var(--bg-tertiary, #0D172E);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.55);
}

.about-founder-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  background-color: #070D1E;
}

.about-founder-bio {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  max-width: 100%;
}

.about-founder-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
}

.about-founder-name {
  font-family: var(--font-heading, 'Lexend', sans-serif);
  font-size: 1.625rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.about-founder-role {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-cyan, #00F0FF);
  letter-spacing: 0.02em;
}

.about-founder-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.about-founder-paragraphs p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-secondary, #CBD5E1);
  margin: 0;
}

/* Personal statement quote attribution */
.about-founder-quote {
  position: relative;
  margin: 0.35rem 0;
  padding: 1.15rem 1.35rem;
  background: rgba(13, 23, 46, 0.6);
  border-left: 3px solid var(--accent-cyan, #00F0FF);
  border-radius: 0 10px 10px 0;
}

.about-founder-quote-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.025rem;
  font-style: italic;
  line-height: 1.68;
  color: #F1F5F9;
  margin: 0;
}

/* Founder links */
.about-founder-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.about-founder-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F8FAFC;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.about-founder-link-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--accent-cyan, #00F0FF);
  transform: translateY(-1px);
}

.about-founder-link-btn svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   3. Built to earn your trust
   Short explanation and three compact evidence links/buttons.
   No descriptive cards or extra paragraphs beneath these links.
   -------------------------------------------------------------------------- */
.about-trust-section {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.about-evidence-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.about-evidence-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary, #F8FAFC);
  background: var(--bg-card, rgba(13, 23, 46, 0.72));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.about-evidence-btn:hover {
  background: rgba(18, 32, 64, 0.85);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--accent-cyan, #00F0FF);
  transform: translateY(-1px);
}

.about-evidence-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent-cyan, #00F0FF);
}

/* --------------------------------------------------------------------------
   4. News and partnerships
   One compact text MOU card.
   -------------------------------------------------------------------------- */
.about-news-section {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.about-news-card {
  position: relative;
  background: var(--bg-card, rgba(13, 23, 46, 0.72));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.09));
  border-radius: 12px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.about-news-title {
  font-family: var(--font-heading, 'Lexend', sans-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
}

.about-news-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9875rem;
  line-height: 1.68;
  color: var(--text-secondary, #CBD5E1);
  margin-bottom: 1rem;
}

.about-news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-cyan, #00F0FF);
  text-decoration: none;
  min-height: 44px;
  box-sizing: border-box;
}

.about-news-link:hover {
  text-decoration: underline;
  color: #67E8F9;
}

.about-news-link svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Responsive Layout Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .about-founder-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-founder-photo-wrap {
    max-width: 240px;
    margin-left: 0;
  }

  .about-evidence-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .about-evidence-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-founder-links {
    flex-direction: column;
    align-items: stretch;
  }

  .about-founder-link-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .about-evidence-btn,
  .about-founder-link-btn {
    transition: none !important;
    transform: none !important;
  }
}
