/* ============================================================
   ABOUT PAGE — Full editorial redesign
   Atlas Connect Solutions
   ============================================================ */

/* ── HERO ── */
.about-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1000px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Portrait image fills the full hero */
.hero-portrait-wrap {
  position: absolute;
  inset: 0;
}
.hero-portrait-img {
  width: 100%;
  height: 100%;
}
.hero-portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #2A2A2A 0%, #1A1A1A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.portrait-placeholder span:first-of-type {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}
.portrait-note {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.18);
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* Gradient overlay — bottom-heavy so text pops */
.hero-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.25) 35%,
    rgba(0,0,0,0.80) 70%,
    rgba(0,0,0,0.92) 100%
  );
}

/* Overlaid text — bottom-left */
.hero-text-wrap {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(2rem, 5vw, 5rem);
  width: 100%;
}
.hero-text-inner { max-width: 640px; }
.about-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
}
.hero-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  margin: 0;
}

/* Floating credential card — bottom-right */
.hero-credential {
  position: absolute;
  bottom: clamp(2rem, 5vw, 5rem);
  right: var(--gutter);
  z-index: 2;
  background: rgba(248,245,240,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(184,149,42,0.3);
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 240px;
}
.hc-item { padding: 0.9rem 0; }
.hc-title {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.hc-org {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}
.hc-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* ── STORY SECTION ── */
.story-section { }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.story-text h2 { margin-bottom: 1.5rem; }
.story-text p  { margin-bottom: 1rem; }

.story-pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.45;
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 2rem;
  margin: 2.5rem 0;
}

/* Secondary portrait */
.story-img-wrap {
  position: relative;
  padding-bottom: 2.5rem;
  padding-right: 2.5rem;
  margin-top: 4rem;
}
.story-img-placeholder,
.story-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  position: relative;
  z-index: 1;
}
.story-img-placeholder {
  background: linear-gradient(145deg, var(--cream) 0%, var(--cream-dk) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.story-img-placeholder span:first-of-type {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 600;
}
.story-img-frame {
  position: absolute;
  bottom: 0; right: 0;
  width: 82%; height: 80%;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 0;
}

/* ── STAT BAR ── */
.stat-bar {
  background: var(--charcoal);
  padding: clamp(2rem, 4vw, 3rem) var(--gutter);
}
.stat-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.sb-stat {
  text-align: center;
  padding: 0 2rem;
}
.sb-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.sb-num em { color: var(--gold); font-style: normal; }
.sb-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
}
.sb-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── EXPANSION SECTION ── */
.expansion-section { }
.expansion-header { margin-bottom: 3.5rem; }
.expansion-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.expansion-text p { margin-bottom: 1rem; }

/* Ventures list */
.ventures-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--cream-dk);
}
.vl-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dk);
  transition: padding-left var(--transition);
}
.vl-item:hover { padding-left: 0.4rem; }
.vl-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.vl-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}
.vl-type {
  display: block;
  font-size: 0.72rem;
  color: var(--mist);
  letter-spacing: 0.08em;
  margin-top: 0.1rem;
}

/* Accent image */
.expansion-img-wrap {
  position: relative;
  margin-top: 2rem;
}
.expansion-img-placeholder,
.expansion-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.expansion-img-placeholder {
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.expansion-img-placeholder span:first-of-type {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}
.expansion-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--gold);
  padding: 0.9rem 1.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

/* ── TIMELINE ── */
.timeline-section { }
.timeline-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.timeline-intro {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 420px;
  align-self: end;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}
/* Vertical spine */
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--cream-dk) 5%, var(--cream-dk) 95%, transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.2rem 0 2.2rem 2rem;
  border-bottom: 1px solid var(--cream);
  position: relative;
}
.timeline-item:last-child { border-bottom: none; }

/* Node on the spine */
.tl-marker {
  position: absolute;
  left: -0.45rem; top: 2.6rem;
}
.tl-marker span {
  display: block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cream-dk);
  border: 2px solid var(--ivory);
}
.tl-marker--gold span {
  background: var(--gold);
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(184,149,42,0.2);
}

.tl-year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--mist);
  padding-top: 0.15rem;
  line-height: 1;
}
.tl-year--gold { color: var(--gold); }

.tl-content h4 {
  color: var(--charcoal);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.tl-content p { font-size: 0.9rem; line-height: 1.75; }

/* ── FIVE F's ── */
.fives-section { }
.fives-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.fives-intro {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 420px;
  align-self: end;
  margin: 0;
}

.fives-about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--cream-dk);
}
.f-about-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--cream-dk);
  transition: padding-left var(--transition);
}
.f-about-row:hover { padding-left: 0.5rem; }
.f-about-heading {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.f-about-initial {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  width: clamp(1.8rem, 2.8vw, 2.4rem);
  flex-shrink: 0;
}
.f-about-rest {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}
.f-about-row p { font-size: 0.9rem; line-height: 1.8; margin: 0; }

/* ── PRAISE SECTION (dark) ── */
.praise-section { }
.praise-section h2 { margin-bottom: 3rem; }
.praise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  margin-top: 3rem;
}
.praise-card {
  background: rgba(255,255,255,0.03);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--transition);
}
.praise-card:hover { background: rgba(255,255,255,0.055); }
.praise-card--featured {
  background: rgba(184,149,42,0.1);
  border-top: 2px solid var(--gold);
}
.praise-card--featured:hover { background: rgba(184,149,42,0.14); }
.praise-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.2;
  margin-bottom: 0.5rem;
  display: block;
}
.praise-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.72;
  margin-bottom: 1.8rem;
}
.praise-footer { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1rem; }
.praise-author {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}
.praise-role {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .story-grid       { grid-template-columns: 1fr 340px; }
  .expansion-grid   { grid-template-columns: 1fr 300px; }
  .timeline-header  { grid-template-columns: 1fr; gap: 1.5rem; }
  .fives-header     { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 900px) {
  .about-hero { height: 85vh; }
  .hero-credential { position: relative; bottom: auto; right: auto; margin: 0 var(--gutter) 2rem; }
  .hero-text-wrap  { padding-bottom: 1.5rem; }
  .story-grid      { grid-template-columns: 1fr; }
  .story-img-wrap  { margin-top: 0; max-width: 480px; }
  .expansion-grid  { grid-template-columns: 1fr; }
  .stat-bar-inner  { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .sb-divider      { display: none; }
  .praise-grid     { grid-template-columns: 1fr 1fr; }
  .f-about-row     { grid-template-columns: 220px 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .about-hero { height: 90vh; max-height: none; }
  .stat-bar-inner  { grid-template-columns: 1fr 1fr; }
  .praise-grid     { grid-template-columns: 1fr; }
  .timeline-item   { grid-template-columns: 60px 1fr; gap: 1rem; padding-left: 1.5rem; }
  .f-about-row     { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.4rem 0; }
}
