/**
 * About Page Styles
 * Sales Fundas Theme by Infineural Technologies
 * Scoped to .page-about to prevent conflicts with Home page.
 */

/* HERO — matches the sitewide .page-hero pattern (contact.css / industries.css) */
.page-hero {
  background: var(--navy);
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}
.page-hero .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.page-hero .eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.page-hero .hero-h1 {
  font-family: var(--fd);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
}
.page-hero .hero-h1 em {
  font-style: normal;
  color: var(--gold);
}
.page-hero .hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
  margin: 0 auto 40px;
  max-width: 540px;
}
.page-hero .hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Photo Container */
.about-photo {
  background: linear-gradient(135deg, var(--navy) 0%, #0A1E33 100%);
  border-radius: 20px;
  aspect-ratio: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.18);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.about-photo .photo-placeholder span {
  font-size: 64px;
  font-weight: 600;
  font-style: normal;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.about-photo::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100px;
  height: 100px;
  background: rgba(190,138,51,.15);
  border-radius: 12px;
  z-index: 1;
}

/* Founder intro grid — photo + story, matches launch-site sample.
   Column widened and the photo given a portrait aspect ratio (content
   update, Sep 2026) so the founder portrait reads as the larger,
   more prominent element the update calls for. */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: 64px;
  align-items: center;
}
.founder-grid p { color: var(--g2); line-height: 1.75; margin-bottom: 16px; }
.founder-grid .lead-sm { font-size: 18px; color: var(--text); }

/* Larger, portrait-orientation founder photo (about page only) */
.about-photo.about-photo-lg {
  aspect-ratio: 4 / 5;
  padding: 0;
}
.about-photo.about-photo-lg img { position: static; }

/* Quick stats row under the founder copy */
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-facts strong {
  display: block;
  font-family: var(--fd);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.about-facts span {
  display: block;
  font-size: 0.86rem;
  color: var(--g2);
  margin-top: 2px;
}

/* Social links line */
.about-social {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--g2);
}
.about-social a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-social a:hover { color: var(--gold-dark); }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.tag-row span,
.tag-row .tag-link {
  background: var(--off);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--navy);
}
.tag-row .tag-link {
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tag-row .tag-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

/* PHILOSOPHY (Two Transformation Models / Principles) */
.philosophy-section {
  background: var(--off);
  padding: 100px 0;
}
.phil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.phil-card {
  background: var(--white);
  border-radius: 14px;
  padding: 40px 32px;
  border-top: 3px solid var(--teal);
}
.phil-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.phil-card h3 {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.phil-card p {
  font-size: 15px;
  color: var(--g2);
  line-height: 1.7;
}
.phil-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* TIMELINE — new card layout */
.about-timeline {
  background: #F6F3EC;
  padding: 100px 0;
}

.abt-intro {
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
}

.abt-intro p {
  font-size: 17px;
  color: var(--g2);
  line-height: 1.75;
  margin-top: 16px;
}

/* Vertical rule — centred */
.abt-tl {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.abt-tl::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 56px;
  width: 2px;
  background: #DAD3C2;
  transform: translateX(-50%);
}

/* Era row — full width, card fills one half */
.abt-era {
  position: relative;
  display: flex;
  margin-bottom: 48px;
  min-height: 1px;
}

.abt-era:last-child {
  margin-bottom: 0;
}

/* Odd (1st, 3rd, 5th) → card on LEFT, marker on centre */
.abt-era:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 32px);
}

/* Even (2nd, 4th) → card on RIGHT, marker on centre */
.abt-era:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 32px);
}

/* Dot — always on the centre line */
.abt-marker {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #F6F3EC;
  border: 3px solid #C1873B;
  z-index: 2;
}

.abt-era--final .abt-marker {
  background: #C1873B;
  border-color: #35564A;
}

/* Card fills the half-column */
.abt-card {
  width: 100%;
  background: var(--white);
  border: 1px solid #DAD3C2;
  border-radius: 6px;
  padding: 28px 30px;
}

.abt-years {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #A66F2C;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.abt-card h3 {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.2;
}

.abt-role-sub {
  font-size: 0.9rem;
  color: var(--g2);
  font-style: italic;
  margin-bottom: 14px;
}

.abt-card p {
  font-size: 0.95rem;
  color: var(--g2);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Trophy badge */
.abt-trophy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #35564A;
  background: rgba(53, 86, 74, 0.08);
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

/* Dashed relevance note */
.abt-relevance {
  font-size: 0.88rem;
  color: var(--g2);
  border-top: 1px dashed #DAD3C2;
  padding-top: 14px;
  margin-top: 4px;
  font-style: italic;
  line-height: 1.65;
}

.abt-relevance strong {
  color: var(--navy);
  font-style: normal;
}

/* Results list (final card) */
.abt-results {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.abt-results li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.93rem;
  color: var(--g2);
  line-height: 1.55;
}

.abt-results li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #A66F2C;
}

.abt-founded-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A66F2C;
}

/* CLOSING QUOTE SECTION */
.abt-closing-section {
  background: var(--navy);
  padding: 80px 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-grid .about-photo { max-width: 320px; margin: 0 auto; }
  .phil-grid,
  .phil-grid.cols-2 { grid-template-columns: 1fr; }
  .about-timeline { padding: 72px 0; }
  .abt-intro { margin-bottom: 48px; }
}

/* Collapse to single-column below 700px */
@media (max-width: 700px) {
  .abt-tl::before {
    left: 20px;
    transform: none;
  }
  .abt-era:nth-child(odd),
  .abt-era:nth-child(even) {
    justify-content: flex-start;
    padding-left: 56px;
    padding-right: 0;
  }
  .abt-marker {
    left: 13px;
    transform: none;
  }
}

@media (max-width: 600px) {
  .about-timeline { padding: 56px 0; }
  .abt-card { padding: 22px 20px; }
  .abt-card h3 { font-size: 1.1rem; }
  .abt-closing-section { padding: 56px 0; }
}

/* Fix: 56px left-padding on ≤380px containers (iPhone SE ~375px) leaves only
   ~299px for card content — reduce to 44px for small phones */
@media (max-width: 380px) {
  .abt-era:nth-child(odd),
  .abt-era:nth-child(even) {
    padding-left: 44px;
    padding-right: 0;
  }

  .abt-marker {
    left: 8px;
    transform: none;
  }
}
