/* ========================================
   ABOUT.CSS — About Page Layout
   Jordan's Archives
   ======================================== */

/* ---- About Page Layout ---- */
.about-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6) var(--space-8) var(--space-16);
  background: transparent;
  position: relative;
  z-index: 2;
}

/* ---- Back button ---- */
.about-back {
  position: fixed;
  top: var(--space-6);
  left: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-muted);
  z-index: 10;
  transition: color var(--duration-fast) var(--ease-out);
}

.about-back:hover {
  color: var(--accent);
}

.about-back svg {
  flex-shrink: 0;
}

/* ---- Character reuse (same as hub) ---- */
.about-page .hub-character {
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
}

/* ---- About content section ---- */
.about-content {
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-bio {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  max-width: 440px;
}

/* ---- Contact button ---- */
.about-contact-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 70px;
  border: 1.5px solid var(--green-dark);
  background: rgba(241, 233, 231, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s ease-out,
              background 0.2s ease-out,
              border-color 0.2s ease-out;
  margin-bottom: var(--space-8);
  box-shadow: 3px 3px 0 rgba(26, 45, 20, 0.08),
              6px 6px 0 rgba(26, 45, 20, 0.04);
}

.about-contact-btn:hover {
  background: rgba(241, 233, 231, 0.85);
  border-color: var(--green);
  transform: translate(-3px, -5px);
  box-shadow: 6px 6px 0 rgba(26, 45, 20, 0.12),
              12px 12px 0 rgba(26, 45, 20, 0.06),
              0 12px 24px rgba(26, 45, 20, 0.1);
}

.about-contact-btn:active {
  transform: translate(-1px, -1px) scale(0.98);
  box-shadow: 2px 2px 0 rgba(26, 45, 20, 0.1),
              4px 4px 0 rgba(26, 45, 20, 0.05);
}

.about-contact-btn-label {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--green-dark);
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* ---- Social links on About page ---- */
.about-socials {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.about-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
  box-shadow: 2px 2px 0 rgba(26, 45, 20, 0.06),
              4px 4px 0 rgba(26, 45, 20, 0.03);
  transition: transform 0.2s ease-out,
              box-shadow 0.2s ease-out,
              color 0.2s ease-out,
              border-color 0.2s ease-out,
              background 0.2s ease-out;
}

.about-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
  transform: translate(-2px, -3px);
  box-shadow: 4px 4px 0 rgba(26, 45, 20, 0.1),
              8px 8px 0 rgba(26, 45, 20, 0.05);
}

.about-social-link:active {
  transform: translate(-1px, -1px) scale(0.95);
  box-shadow: 1px 1px 0 rgba(26, 45, 20, 0.08);
}

/* ---- FAQ section for SEO/GEO (accordion) ---- */
.about-faq {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 2.5px dashed var(--green-dark);
}

.about-faq-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--green-dark);
  margin-bottom: var(--space-5);
}

/* Accordion items */
.about-faq-item {
  margin-bottom: var(--space-3);
  border: 1.5px solid var(--green-dark);
  background: rgba(241, 233, 231, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.about-faq-item[open] {
  background: rgba(241, 233, 231, 0.75);
  box-shadow: 3px 3px 0 rgba(26, 45, 20, 0.06),
              6px 6px 0 rgba(26, 45, 20, 0.03);
}

/* Summary (question) */
.about-faq-item summary {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--green-dark);
  font-weight: 400;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  transition: color var(--duration-fast) var(--ease-out);
}

.about-faq-item summary::-webkit-details-marker {
  display: none;
}

/* Custom arrow indicator */
.about-faq-item summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  transform: rotate(-45deg);
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

.about-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.about-faq-item summary:hover {
  color: var(--accent);
}

.about-faq-item summary:hover::after {
  border-color: var(--accent);
}

/* Answer text */
.about-faq-item p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 var(--space-5) var(--space-4);
  text-align: left;
}

/* ---- About page footer ---- */
.about-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.about-footer a {
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.about-footer a:hover {
  color: var(--accent);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  .about-page {
    padding: var(--space-4) var(--space-5) var(--space-12);
  }

  .about-back {
    top: var(--space-4);
    left: var(--space-4);
  }

  .about-page .hub-character {
    width: 200px;
    height: 260px;
    margin-top: var(--space-16);
    margin-bottom: var(--space-4);
  }

  .about-bio {
    font-size: var(--text-sm);
  }

  .about-footer {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
    padding: var(--space-4) var(--space-5);
  }
}

@media (max-width: 480px) {
  .about-page .hub-character {
    width: 180px;
    height: 230px;
    margin-top: var(--space-12);
  }
}
