/* About page — unique motion + polish (3-col layout preserved) */
.about-page {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, #fafbfc 0%, #ffffff 42%, #f6f4ef 100%);
  font-family: var(--lp-sans, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  color: #111;
  overflow-x: hidden;
  --lp-mx: 0.5;
  --lp-my: 0.5;
}

.about-page.lp-cursor-enabled {
  cursor: default;
}

/* Cursor glow sits above bg, below content */
.about-page .lp-page-cursor-glow {
  z-index: 1;
}

.about-page .lp-about,
.about-page__header,
.about-footer {
  position: relative;
  z-index: 2;
}

/* Header */
.about-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(231, 227, 218, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.about-page__logo {
  font-size: 1.35rem;
  text-decoration: none;
}

.about-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border: 1px solid #e7e3da;
  border-radius: 6px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.about-page__back:hover {
  border-color: #111;
  transform: translateX(-2px);
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.06);
}

/* Ambient playbook background */
.about-page .lp-about {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.about-bg__dots {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(circle, rgba(245, 165, 36, 0.45) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.about-bg__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.about-route {
  fill: none;
  stroke: rgba(245, 165, 36, 0.35);
  stroke-width: 1.2;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
  animation: about-route-drift 18s ease-in-out infinite;
}

.about-route--delay { animation-delay: -6s; opacity: 0.7; }
.about-route--delay2 { animation-delay: -12s; opacity: 0.5; }

.about-route-dot {
  fill: rgba(245, 165, 36, 0.6);
  animation: about-dot-pulse 3s ease-in-out infinite;
}

.about-route-mark {
  fill: rgba(245, 165, 36, 0.45);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--lp-sans, Inter, sans-serif);
}

.about-page .lp-about__grid {
  position: relative;
  z-index: 1;
}

/* Title swoosh draw */
.about-swoosh-wrap {
  display: block;
  margin-top: 0.35rem;
  max-width: 140px;
}

.about-swoosh__path,
.about-curve__path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page.about-ready .about-swoosh__path,
.about-page.about-ready .about-curve__path {
  stroke-dashoffset: 0;
}

.about-curve__path { transition-delay: 0.35s; }

/* Photo — glow + tilt */
.lp-about__photo-wrap {
  position: relative;
  margin-top: 0.25rem;
  perspective: 900px;
}

.about-photo__glow {
  position: absolute;
  inset: -8%;
  background: radial-gradient(ellipse at center, rgba(245, 165, 36, 0.22), transparent 68%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.about-photo-tilt:hover .about-photo__glow { opacity: 1; }

.lp-about__photo {
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.1);
}

.about-photo-tilt:hover .lp-about__photo {
  box-shadow: 0 28px 64px rgba(10, 22, 40, 0.14), 0 0 0 1px rgba(245, 165, 36, 0.15);
}

.lp-about__curve {
  z-index: 2;
}

/* Story paragraphs stagger */
.about-para {
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-reveal.about-visible .about-para {
  opacity: 1;
  transform: translateX(0);
}

.about-reveal.about-visible .about-para:nth-child(1) { transition-delay: 0.1s; }
.about-reveal.about-visible .about-para:nth-child(2) { transition-delay: 0.2s; }
.about-reveal.about-visible .about-para:nth-child(3) { transition-delay: 0.3s; }
.about-reveal.about-visible .about-para:nth-child(4) { transition-delay: 0.4s; }

.about-cta-btn {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease 0.5s, transform 0.45s ease 0.5s, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.about-reveal.about-visible .about-cta-btn {
  opacity: 1;
  transform: translateY(0);
}

.about-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.about-cta-btn:hover::after { transform: translateX(120%); }

/* Stat cards */
.about-stat-card {
  padding: 0.5rem 0;
  border-radius: 12px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.about-stat-card:hover {
  transform: translateX(4px);
  background: rgba(245, 165, 36, 0.04);
}

.lp-about__stat-icon {
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.about-stat-card:hover .lp-about__stat-icon {
  transform: scale(1.08);
  border-color: rgba(245, 165, 36, 0.45);
  background: rgba(245, 165, 36, 0.08);
}

.lp-about__stat-icon .lp-icon-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.about-trust-label {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}

.about-reveal.about-visible .about-trust-label {
  opacity: 1;
  transform: translateY(0);
}

.about-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Column reveals */
.about-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-reveal[data-reveal="left"] { transform: translateX(-20px) translateY(12px); }
.about-reveal[data-reveal="story"] { transform: translateX(20px) translateY(12px); }
.about-reveal[data-reveal="stats"] { transform: translateX(20px) translateY(12px); }

.about-reveal.about-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.about-reveal[data-reveal="left"].about-visible { transition-delay: 0.05s; }
.about-reveal[data-reveal="story"].about-visible { transition-delay: 0.15s; }
.about-reveal[data-reveal="stats"].about-visible { transition-delay: 0.25s; }

/* Page load header/footer */
.about-anim--header,
.about-anim--footer {
  opacity: 0;
  transform: translateY(-8px);
}

.about-page.about-ready .about-anim--header {
  animation: about-slide-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-page.about-ready .about-anim--footer {
  animation: about-slide-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.about-anim--eyebrow {
  opacity: 0;
  letter-spacing: 0.2em;
  transition: opacity 0.4s ease 0.2s, letter-spacing 0.6s ease 0.2s;
}

.about-page.about-ready .about-anim--eyebrow {
  opacity: 1;
  letter-spacing: 0.14em;
}

.about-anim--title {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease 0.15s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.about-page.about-ready .about-anim--title {
  opacity: 1;
  transform: translateY(0);
}

@keyframes about-slide-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes about-route-drift {
  0%, 100% { stroke-dashoffset: 0; opacity: 0.35; }
  50% { stroke-dashoffset: 20; opacity: 0.55; }
}

@keyframes about-dot-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@media (max-width: 900px) {
  .lp-about__grid { grid-template-columns: 1fr !important; }
  .lp-about__stats {
    border-left: none;
    border-top: 1px solid #e7e3da;
    padding-left: 0;
    padding-top: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .about-reveal[data-reveal="left"],
  .about-reveal[data-reveal="story"],
  .about-reveal[data-reveal="stats"] {
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-reveal,
  .about-para,
  .about-cta-btn,
  .about-trust-label,
  .about-anim--header,
  .about-anim--footer,
  .about-anim--eyebrow,
  .about-anim--title {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .about-swoosh__path,
  .about-curve__path { stroke-dashoffset: 0 !important; }
  .about-route,
  .about-route-dot { animation: none !important; }
  .lp-about__photo { transform: none !important; }
}
