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

/* ═══════════════════════════════════════
   HERO
════════════════════════════════════════ */
#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.jpg");
  background-position: center 20%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(30%) contrast(1.06) brightness(0.9);
  transform: scale(1.03);
  transform-origin: center;
  animation: hero-drift 20s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.03) translateY(0); }
  to   { transform: scale(1.06) translateY(-8px); }
}

.about-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,  rgba(10,6,4,0.97) 0%, rgba(10,6,4,0.72) 38%, rgba(10,6,4,0.28) 68%, rgba(10,6,4,0.12) 100%),
    linear-gradient(to right, rgba(10,6,4,0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 55%, rgba(196,113,74,0.1) 0%, transparent 52%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 8% 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-hero-text {
  max-width: 780px;
}

.about-tag {
  color: var(--terracotta-light) !important;
}
.about-tag::before {
  background: var(--terracotta-light) !important;
}

#about-hero h1 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  color: var(--linen);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  animation: hero-fadein 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
#about-hero h1 em {
  color: var(--terracotta-light);
  font-style: italic;
}

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

.about-hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 8%;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.35);
  writing-mode: vertical-rl;
  animation: hint-fade 2s 1.5s ease both;
}
@keyframes hint-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════
   OPENING STATEMENT
════════════════════════════════════════ */
#opening {
  background: var(--white);
  padding: 7rem 8%;
}

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

.opening-aside {
  padding-top: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.opening-aside-line {
  width: 32px;
  height: 1px;
  background: var(--terracotta);
}
.opening-aside span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1;
}

.opening-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.4rem;
}
.opening-body p:last-child { margin-bottom: 0; }

.opening-lead {
  font-family: var(--font-display) !important;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem) !important;
  font-weight: 300 !important;
  font-style: italic;
  color: var(--warm-brown) !important;
  line-height: 1.35 !important;
  margin-bottom: 2rem !important;
}

/* ═══════════════════════════════════════
   THE PROBLEM
════════════════════════════════════════ */
#the-problem {
  background: var(--linen);
  padding: 7rem 8%;
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problem-header {
  margin-bottom: 4rem;
}
.problem-header .tag { justify-content: flex-start; }
.problem-header h2 { max-width: 640px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: 1px solid var(--linen-dark);
  padding-top: 3rem;
}

.problem-item { position: relative; }

.problem-item-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--terracotta-pale);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

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

/* ═══════════════════════════════════════
   MISSION QUOTE — Dark band
════════════════════════════════════════ */
#mission-quote {
  background: var(--warm-brown);
  padding: 6rem 8%;
  position: relative;
  overflow: hidden;
}

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

.mission-quote-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mission-quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.6;
  color: rgba(196,113,74,0.18);
  margin-bottom: 1.5rem;
  display: block;
  font-style: italic;
}

#mission-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--linen);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

#mission-quote cite,
#mission-quote .mission-quote-attr {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.4);
  font-family: var(--font-body);
  font-weight: 400;
}

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

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

.convictions-header {
  margin-bottom: 4.5rem;
}
.convictions-header .tag { justify-content: flex-start; }

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

.conviction {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--linen-dark);
  align-items: start;
  transition: background 0.25s;
}
.conviction:first-of-type {
  border-top: 1px solid var(--linen-dark);
}

.conviction-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--terracotta-aa);
  letter-spacing: 0.05em;
  padding-top: 0.2rem;
}

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

.conviction-right p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  max-width: 580px;
}

/* ═══════════════════════════════════════
   THE NAME
════════════════════════════════════════ */
#the-name {
  background: var(--linen);
  padding: 7rem 8%;
}

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

.name-left {
  position: sticky;
  top: 100px;
}
.name-left .tag { justify-content: flex-start; }
.name-left h2 { line-height: 1.15; }
.name-left h2 em { font-style: italic; }

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

.name-motto {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--linen-dark);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.name-motto-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--warm-brown);
  letter-spacing: 0.02em;
}
.name-motto-trans {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
}

/* ═══════════════════════════════════════
   WHAT MAKES US DIFFERENT
════════════════════════════════════════ */
#different {
  background: var(--white);
  padding: 7rem 8%;
}

.different-inner {
  max-width: 900px;
  margin: 0 auto;
}

.different-header {
  text-align: center;
  margin-bottom: 4rem;
}

.different-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  border: 1px solid var(--linen-dark);
  border-radius: 24px;
  overflow: hidden;
}

.different-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.different-col--other {
  background: var(--linen);
}
.different-col--us {
  background: var(--white);
}

.different-col-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--linen-dark);
  margin-bottom: 1.25rem;
}
.different-col-label--us {
  color: var(--terracotta-aa);
}

.different-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.different-row:last-child { border-bottom: none; }

.different-row p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 300;
}
.different-col--us .different-row p {
  color: var(--text-dark);
}
.different-row p em {
  font-style: italic;
  color: var(--warm-brown);
}

.different-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.different-icon--x {
  background: rgba(0,0,0,0.05);
  color: var(--text-light);
}
.different-icon--check {
  background: var(--terracotta-pale);
  color: var(--terracotta);
}

.different-divider {
  background: var(--linen-dark);
  width: 1px;
  align-self: stretch;
}

/* ═══════════════════════════════════════
   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) {
  #about-hero {
    align-items: flex-end;
  }
  #about-hero h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }
  .about-hero-inner {
    padding: 0 6% 4rem;
  }
  .about-hero-scroll-hint {
    display: none;
  }

  .opening-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .opening-aside {
    flex-direction: row;
    align-items: center;
    padding-top: 0;
  }
  .opening-aside span {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .opening-aside-line {
    width: 20px;
    margin-right: 0.5rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .conviction {
    grid-template-columns: 50px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .name-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .name-left {
    position: static;
  }

  .different-grid {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .different-divider {
    width: auto;
    height: 1px;
    align-self: auto;
  }
  .different-col--us {
    background: var(--linen);
    border-top: 2px solid var(--terracotta-pale);
  }
}

@media (max-width: 640px) {
  #opening, #the-problem, #convictions,
  #the-name, #different, #about-cta,
  #mission-quote {
    padding-left: 6%;
    padding-right: 6%;
  }
}
/* Mission quote attribution */
.mission-quote-attr {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.4);
  font-family: var(--font-body);
  font-weight: 400;
}