/* ============================================================
   ABOUT PAGE — SPECIFIC CSS
   ============================================================ */

/* ─── TITLE & TEXT ─────────────────────────────────────────── */
.a-title {
  color: var(--creo-white);
  font-weight: 700;
}

.hero-label-about {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--creo-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

/* ─── ABOUT GRID ───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
  }
}

.story-content p {
  color: var(--creo-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.story-content strong {
  color: var(--creo-dark);
}

.vision-box {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--creo-white);
  border-left: 4px solid var(--creo-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 10px 30px rgba(11, 23, 61, 0.05);
}


/* ─── FOUNDER CARD & AUDIO PLAYER GAMIFICATION ─────────────── */
.about-founder {
  position: relative;
}

.founder-card {
  background: var(--creo-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 23, 61, 0.08);
  border: 1px solid var(--creo-mid);
}

.fc-image {
  width: 100%;
  height: 240px;
  background: url('/brandguide/brand%20assets/home/maria-foto.webp') center/cover no-repeat, var(--creo-dark);
}

.fc-content {
  padding: var(--space-6);
}

.fc-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--creo-accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

.fc-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--creo-dark);
}

.fc-bio {
  color: var(--creo-muted);
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

/* Audio Player */
.fc-audio-player {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--creo-light);
  padding: 12px;
  border-radius: 50px;
  border: 1px solid var(--creo-mid);
}

.audio-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--creo-accent);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.audio-btn:hover {
  background: var(--creo-accent-hover);
  transform: scale(1.05);
}

.audio-btn.playing svg {
  /* switch play icon to pause icon roughly */
  d: path("M6 5h4v14H6zm8 0h4v14h-4z");
}

.audio-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  overflow: hidden;
}

.audio-wave span {
  width: 3px;
  height: 4px;
  background: var(--creo-muted);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.audio-wave span.h1 { height: 12px; }
.audio-wave span.h2 { height: 16px; }
.audio-wave span.h3 { height: 8px; }

/* active state for waves */
.fc-audio-player.is-playing .audio-wave span {
  background: var(--creo-accent);
  animation: soundWave 1s infinite alternate ease-in-out;
}
.fc-audio-player.is-playing .audio-wave span.h1 { animation-delay: 0.1s; }
.fc-audio-player.is-playing .audio-wave span.h2 { animation-delay: 0.3s; }
.fc-audio-player.is-playing .audio-wave span.h3 { animation-delay: 0.2s; }

@keyframes soundWave {
  0% { height: 4px; }
  100% { height: 20px; }
}

.audio-time {
  font-size: 0.875rem;
  color: var(--creo-muted);
  font-weight: 600;
  padding-right: 8px;
}

.audio-caption {
  font-size: 0.75rem;
  color: var(--creo-muted);
  text-align: center;
  margin-top: 8px;
}


/* ─── VISUAL TIMELINE ──────────────────────────────────────── */
.timeline-section {
  padding: 80px 0 120px;
}

.creo-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* The Line in the middle */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: var(--creo-mid);
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
  }
}

.timeline-line-filled {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; /* FIlled by JS */
  background: var(--creo-accent);
  transition: height 0.1s linear;
}

/* Timeline Items */
.tl-item {
  position: relative;
  margin-bottom: 64px;
  width: 100%;
}

.tl-item:last-child {
  margin-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: 30px;
  top: 0;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--creo-mid);
  border: 4px solid var(--creo-white);
  z-index: 2;
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .tl-dot {
    left: 50%;
  }
}

.tl-item.is-active .tl-dot {
  background: var(--creo-accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.tl-content {
  margin-left: 70px;
  background: var(--creo-white);
  border: 1px solid var(--creo-mid);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 10px 30px rgba(11,23,61,0.03);
  opacity: 0.3;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tl-item.is-active .tl-content {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(124, 58, 237, 0.3);
}

/* Current step highlight */
.tl-current .tl-content {
  background: rgba(124, 58, 237, 0.03);
  border-color: var(--creo-accent);
}
.tl-current.is-active .tl-dot {
  background: var(--creo-success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

@media (min-width: 768px) {
  .tl-content {
    width: calc(50% - 50px);
    margin-left: 0;
  }
  
  .tl-left {
    float: left;
    text-align: right;
  }
  
  .tl-right {
    float: right;
  }
}

/* Clearfixes for floats */
.tl-item::after {
  content: "";
  display: table;
  clear: both;
}

.tl-date {
  font-size: 0.875rem;
  color: var(--creo-accent);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tl-content h3 {
  font-size: 1.25rem;
  color: var(--creo-dark);
  margin-bottom: 8px;
}

.tl-content p {
  color: var(--creo-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}


/* ─── SEARCHABLE FAQ ───────────────────────────────────────── */
.faq-section {
  padding-bottom: 120px;
}

.faq-search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--creo-muted);
  pointer-events: none;
}

#faq-search {
  padding-left: 48px;
  padding-right: 48px;
  height: 56px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.clear-search {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--creo-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.clear-search:hover {
  color: var(--creo-error);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--creo-white);
  border: 1px solid var(--creo-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

/* Hide via JS filtering */
.faq-item.hidden-by-search {
  display: none;
}

.faq-q {
  padding: var(--space-4) var(--space-5);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--creo-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-base);
  border-bottom: 1px solid transparent;
}

.faq-q:hover {
  background: rgba(124, 58, 237, 0.02);
}

.faq-q[aria-expanded="true"] {
  border-bottom-color: var(--creo-mid);
  color: var(--creo-accent);
}

.q-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--creo-muted);
  transition: transform 0.3s ease;
}

.faq-q[aria-expanded="true"] .q-icon {
  transform: rotate(45deg);
  color: var(--creo-accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a p {
  padding: var(--space-5);
  color: var(--creo-muted);
  line-height: 1.6;
  font-size: 1rem;
}
