/* ============================================================
   Steadfast Life — About Page (about.css)
   ============================================================ */

/* ═══════════════════════════════════════
   HERO — Full-bleed image
════════════════════════════════════════ */
#about-hero {
  padding-top: 68px;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/liam-ward-EsIgdjc8Q80-unsplash.webp");
  background-position: center 20%;
  background-size: cover;
  background-repeat: no-repeat;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(10,6,4,0.96) 0%, rgba(10,6,4,0.68) 38%, rgba(10,6,4,0.18) 70%, rgba(10,6,4,0.04) 100%),
    linear-gradient(to right, rgba(10,6,4,0.45) 0%, transparent 65%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 8% 5.5rem;
  box-sizing: border-box;
}

.about-hero-text {
  max-width: 700px;
  animation: hero-fadein 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-hero-text .tag {
  justify-content: flex-start;
  color: rgba(214,155,120,0.9);
}

#about-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: var(--linen);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 1.5rem;
}
#about-hero h1 em {
  color: var(--terracotta-light);
  font-style: italic;
}

.about-hero-sub {
  font-size: 1.05rem;
  color: rgba(245,239,230,0.65);
  line-height: 1.8;
  font-weight: 300;
  max-width: 520px;
}

@keyframes hero-fadein {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   ORIGIN STORY
════════════════════════════════════════ */
#origin {
  background: var(--white);
  padding: 7rem 8%;
}

.origin-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 7rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.origin-left {
  position: sticky;
  top: 100px;
}
.origin-left .tag { justify-content: flex-start; }
.origin-left h2 {
  line-height: 1.15;
  margin-bottom: 0;
}

.origin-right p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.4rem;
}
.origin-right p:last-of-type { margin-bottom: 0; }

.origin-pullquote {
  border-left: 2px solid var(--terracotta);
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin: 2rem 0;
}

.origin-pullquote blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--warm-brown);
  line-height: 1.5;
  margin: 0;
}


/* ═══════════════════════════════════════
   CCC QUOTE
════════════════════════════════════════ */
#ccc-quote {
  background: var(--linen);
  padding: 6rem 8%;
  border-top: 1px solid var(--linen-dark);
  border-bottom: 1px solid var(--linen-dark);
}

.ccc-quote-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.ccc-deco {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.55;
  color: rgba(196,113,74,0.18);
  display: block;
  margin-bottom: 1.75rem;
  font-style: italic;
  user-select: none;
}

.ccc-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--warm-brown);
  line-height: 1.8;
  margin: 0 0 2rem;
}

.ccc-source {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-style: normal;
  font-weight: 500;
}

/* ═══════════════════════════════════════
   FOUNDERS — Editorial cards
════════════════════════════════════════ */
#founders {
  background: var(--white);
  padding: 7rem 8%;
}

.founders-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.founders-header {
  text-align: center;
  margin-bottom: 5rem;
}
.founders-header .tag { justify-content: center; }
.founders-header h2 { margin-bottom: 0; }

.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4.5rem;
  align-items: start;
  padding: 4.5rem 0;
  border-top: 1px solid var(--linen-dark);
}
.founder-card:last-of-type {
  border-bottom: 1px solid var(--linen-dark);
}

.founder-card--flip {
  grid-template-columns: 1fr 280px;
}
.founder-card--flip .founder-photo { order: 2; }
.founder-card--flip .founder-content { order: 1; }

.founder-photo {
  width: 280px;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(92,61,46,0.12);
  flex-shrink: 0;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.founder-role {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.founder-content h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--warm-brown);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.founder-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--terracotta-aa);
  line-height: 1.55;
  border-left: 2px solid var(--terracotta-pale);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem !important;
}

.founder-content p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1rem;
}
.founder-content p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════
   CONVICTIONS — Manifesto style
════════════════════════════════════════ */
#convictions {
  background: var(--linen);
  padding: 7rem 8%;
}

.convictions-inner {
  max-width: 780px;
  margin: 0 auto;
}

.convictions-header {
  text-align: center;
  margin-bottom: 5rem;
}
.convictions-header .tag { justify-content: center; }

.convictions-list {
  display: flex;
  flex-direction: column;
}

.conviction {
  position: relative;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--linen-dark);
  overflow: visible;
}
.conviction:first-of-type {
  border-top: 1px solid var(--linen-dark);
}

.conviction-num {
  position: absolute;
  top: 0.5rem;
  right: -0.25rem;
  font-family: var(--font-display);
  font-size: 9rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(196,113,74,0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.conviction-body {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.conviction-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--warm-brown);
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

.conviction-body p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
}

/* ═══════════════════════════════════════
   CTA
════════════════════════════════════════ */
#about-cta {
  background: var(--warm-brown);
  padding: 7rem 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(196,113,74,0.14) 0%, transparent 60%);
  pointer-events: none;
}

.about-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}

#about-cta h2 {
  color: var(--linen);
  margin-bottom: 1rem;
}
#about-cta h2 em {
  color: var(--terracotta-light);
}
#about-cta p {
  color: rgba(245,239,230,0.6);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.about-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.about-cta-link {
  font-size: 0.875rem;
  color: rgba(245,239,230,0.5);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(245,239,230,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.about-cta-link:hover {
  color: rgba(245,239,230,0.8);
  border-color: rgba(245,239,230,0.4);
}

/* ═══════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 960px) {
  /* Hero */
  .about-hero-inner { padding: 0 6% 4rem; }
  .about-hero-sub { max-width: 100%; }

  /* Origin */
  #origin { padding: 4rem 6%; }
  .origin-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .origin-left { position: static; }

  /* CCC Quote */
  #ccc-quote { padding: 4rem 6%; }

  /* Founders */
  #founders { padding: 4rem 6%; }
  .founder-card,
  .founder-card--flip {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }
  .founder-card--flip .founder-photo { order: 0; }
  .founder-card--flip .founder-content { order: 0; }
  .founder-photo {
    width: 100%;
    max-width: 260px;
  }

  /* Convictions */
  #convictions { padding: 4rem 6%; }
  .convictions-header { margin-bottom: 3rem; }
  .conviction { padding: 2.5rem 0; }
  .conviction-num { font-size: 6rem; }

  /* CTA */
  #about-cta { padding: 4rem 6%; }
}

@media (max-width: 640px) {
  .about-hero-inner { padding: 0 5% 3rem; }

  #origin,
  #ccc-quote,
  #founders,
  #convictions,
  #about-cta {
    padding: 3rem 5%;
  }

  .founder-card,
  .founder-card--flip { padding: 2.5rem 0; }
  .founder-photo { max-width: 220px; }

  .conviction { padding: 2rem 0; }
  .conviction-num { font-size: 5rem; right: 0; }
}
