/* ============================================
   ABOUT US / OUR STORY PAGE
   ============================================ */

/* ---- Wave Divider ---- */
.about-wave {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.about-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}
.about-wave path {
  fill: var(--color-primary-light);
  opacity: 0.25;
}

/* ---- Hero Section ---- */
.about-hero {
  padding: var(--space-16) 0 var(--space-20);
  background: linear-gradient(135deg, var(--color-primary-ultra-light) 0%, var(--color-background) 60%);
}
.about-hero__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}
.about-hero__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.about-hero__card {
  position: relative;
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
}
.about-hero__heading {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--color-text);
}
.about-hero__heading span {
  display: block;
  padding-top: var(--space-2);
  color: var(--color-primary);
}
.about-hero__description {
  font-size: 1.125rem;
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 672px;
}

/* Icon badges row */
.about-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.about-hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
}
.about-hero__badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
  flex-shrink: 0;
}
.about-hero__badge-text {
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  font-size: var(--text-sm);
}

/* Hero image */
.about-hero__image-wrapper {
  max-width: 384px;
  flex-shrink: 0;
}
.about-hero__image-frame {
  position: relative;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-hero__image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Mobile-only hero image (hidden on desktop) */
.about-hero__image-mobile {
  display: none;
  max-width: 384px;
  margin: 0 auto;
}
.about-hero__image-mobile .about-hero__image-frame {
  aspect-ratio: 3 / 4;
}

/* ---- Story Section ---- */
.about-story {
  position: relative;
  padding: var(--space-12) 0 var(--space-20);
  background: var(--color-background);
}

/* Title block */
.about-story__title-block {
  text-align: center;
  margin-bottom: var(--space-20);
}
.about-story__heading {
  position: relative;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  padding: 0 var(--space-4);
  margin-bottom: var(--space-6);
}
.about-story__underline {
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 12px;
  border-radius: 9999px;
  background: linear-gradient(to right, rgba(124, 106, 232, 0.2), rgba(184, 174, 250, 0.35), rgba(124, 106, 232, 0.2));
  transform: rotate(-1deg);
}
.about-story__subtitle {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

/* Story content container */
.about-story__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  max-width: 1152px;
  margin: 0 auto;
}

/* Story grid rows */
.about-story__row {
  display: grid;
  align-items: center;
  gap: var(--space-12);
}
.about-story__row--text-left {
  grid-template-columns: 1.4fr 1fr;
}
.about-story__row--text-right {
  grid-template-columns: 1fr 1.4fr;
}

/* Story cards */
.about-story__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
}
.about-story__card--secondary {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}
.about-story__bold {
  font-size: 1.5rem;
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  line-height: 1.3;
}
.about-story__highlight {
  font-size: 1.25rem;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  line-height: 1.6;
}
.about-story__text {
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--color-text-muted);
}
.about-story__bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--color-text-muted);
}
.about-story__bullet svg {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

/* Image collages */
.about-collage {
  position: relative;
  height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-collage__item {
  position: absolute;
  border: 4px solid #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s ease;
}
.about-collage__item:hover {
  z-index: 40 !important;
  transform: rotate(0deg) scale(1.05) !important;
}
.about-collage__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Portrait collage (3 images) */
.about-collage--portrait .about-collage__item {
  width: 208px;
  height: 275px;
}
.about-collage--portrait .about-collage__item:nth-child(1) {
  transform: rotate(-8deg) translateX(-100px) translateY(70px);
  z-index: 10;
}
.about-collage--portrait .about-collage__item:nth-child(2) {
  transform: rotate(-3deg) translateY(-90px);
  z-index: 30;
}
.about-collage--portrait .about-collage__item:nth-child(3) {
  transform: rotate(3deg) translateX(100px) translateY(50px);
  z-index: 20;
}

/* Landscape collage (3 images) */
.about-collage--landscape .about-collage__item {
  width: 288px;
  height: 195px;
}
.about-collage--landscape .about-collage__item:nth-child(1) {
  transform: rotate(12deg) translateX(-80px) translateY(140px);
  z-index: 10;
}
.about-collage--landscape .about-collage__item:nth-child(2) {
  transform: rotate(2deg) translateY(-30px);
  z-index: 20;
}
.about-collage--landscape .about-collage__item:nth-child(3) {
  transform: rotate(-10deg) translateX(80px) translateY(100px);
  z-index: 30;
}

/* Icon badge overlay on collage images */
.about-collage__badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(200, 200, 200, 0.5);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-collage__badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
}

/* Single feature image */
.about-story__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}
.about-story__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-story__image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 66px;
  height: 66px;
  padding: var(--space-4);
  border: 1px solid rgba(200, 200, 200, 0.5);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-story__image-badge svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary-light);
}

/* Center promise card */
.about-promise {
  text-align: center;
  padding: var(--space-12);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
}
.about-promise__bold {
  display: block;
  font-size: 1.5rem;
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  line-height: 1.6;
}
.about-promise__text {
  margin-top: var(--space-6);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.about-promise__text strong {
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

/* ---- Final Message Card ---- */
.about-final {
  text-align: center;
}
.about-final__card {
  position: relative;
  padding: var(--space-16);
  border: 2px solid rgba(124, 106, 232, 0.2);
  border-radius: var(--radius-xl);
  background: linear-gradient(to right bottom, #fff, #f8f6ff, #ede7ff);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-final__title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  line-height: 1.2;
}
.about-final__subtitle {
  margin-top: var(--space-4);
  font-size: 1.5rem;
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.about-final__highlight {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.about-final__italic {
  font-size: 1.875rem;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  line-height: 1.35;
}
.about-final__gradient {
  font-size: 2.25rem;
  font-weight: var(--weight-semibold);
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.6;
}

/* Welcome banner */
.about-welcome {
  margin-top: var(--space-8);
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.about-welcome:hover {
  box-shadow: var(--shadow-lg);
}
.about-welcome__title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.about-welcome__emoji {
  font-size: 1.875rem;
}
.about-welcome__title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-semibold);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.about-welcome__text {
  font-size: 1.5rem;
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Floating hearts */
.about-welcome__hearts {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  pointer-events: none;
}
.about-welcome__heart {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  animation: about-float 4s ease-in-out infinite;
}
.about-welcome__heart:nth-child(1) { left: 20%; top: 30%; animation-delay: 0s; }
.about-welcome__heart:nth-child(2) { left: 35%; top: 70%; animation-delay: 0.6s; }
.about-welcome__heart:nth-child(3) { left: 50%; top: 30%; animation-delay: 1.2s; }
.about-welcome__heart:nth-child(4) { left: 65%; top: 70%; animation-delay: 1.8s; }
.about-welcome__heart:nth-child(5) { left: 80%; top: 30%; animation-delay: 2.4s; }
.about-welcome__heart:nth-child(6) { left: 95%; top: 70%; animation-delay: 3.0s; }

/* Glow effect behind welcome */
.about-welcome__glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(to right, rgba(124, 106, 232, 0.2), rgba(184, 174, 250, 0.2));
  z-index: -1;
  animation: about-pulse 2s ease infinite;
}

@keyframes about-float {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-20px); opacity: 0.5; }
}
@keyframes about-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-hero__grid {
    flex-direction: column;
    text-align: center;
  }
  .about-hero__image-wrapper {
    display: none;
  }
  .about-hero__image-mobile {
    display: block;
  }
  .about-hero__description {
    margin: 0 auto;
  }
  .about-hero__badges {
    justify-content: center;
  }
  .about-hero__heading {
    font-size: var(--text-h1);
  }
  .about-story__heading {
    font-size: var(--text-h1);
  }
  .about-story__row--text-left,
  .about-story__row--text-right {
    grid-template-columns: 1fr;
  }
  .about-collage {
    height: 280px;
  }
  .about-collage--portrait .about-collage__item {
    width: 170px;
    height: 225px;
  }
  .about-collage--portrait .about-collage__item:nth-child(1) {
    transform: rotate(-8deg) translateX(-80px) translateY(55px);
  }
  .about-collage--portrait .about-collage__item:nth-child(2) {
    transform: rotate(-3deg) translateY(-70px);
  }
  .about-collage--portrait .about-collage__item:nth-child(3) {
    transform: rotate(3deg) translateX(80px) translateY(40px);
  }
  .about-collage--landscape .about-collage__item {
    width: 230px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: var(--space-10) 0 var(--space-12);
  }
  .about-hero__heading {
    font-size: var(--text-h2);
  }
  .about-story__heading {
    font-size: var(--text-h2);
  }
  .about-story__content {
    gap: var(--space-16);
  }
  .about-collage {
    height: 240px;
  }
  .about-collage--portrait .about-collage__item {
    width: 140px;
    height: 185px;
  }
  .about-collage--portrait .about-collage__item:nth-child(1) {
    transform: rotate(-8deg) translateX(-65px) translateY(45px);
  }
  .about-collage--portrait .about-collage__item:nth-child(2) {
    transform: rotate(-3deg) translateY(-60px);
  }
  .about-collage--portrait .about-collage__item:nth-child(3) {
    transform: rotate(3deg) translateX(65px) translateY(35px);
  }
  .about-collage--landscape .about-collage__item {
    width: 190px;
    height: 130px;
  }
  .about-final__card {
    padding: var(--space-8);
  }
  .about-final__title {
    font-size: 1.5rem;
  }
  .about-final__subtitle {
    font-size: 1.125rem;
  }
  .about-final__italic {
    font-size: 1.5rem;
  }
  .about-final__gradient {
    font-size: 1.75rem;
  }
  .about-welcome__title {
    font-size: var(--text-h3);
  }
  .about-welcome__text {
    font-size: 1.125rem;
  }
}

@media (max-width: 640px) {
  .about-hero__heading {
    font-size: var(--text-h3);
  }
  .about-story__heading {
    font-size: var(--text-h3);
  }
  .about-story__subtitle {
    font-size: var(--text-body);
  }
  .about-story__bold {
    font-size: 1.25rem;
  }
  .about-collage {
    height: 200px;
  }
  .about-collage--portrait .about-collage__item {
    width: 115px;
    height: 152px;
  }
  .about-collage--portrait .about-collage__item:nth-child(1) {
    transform: rotate(-8deg) translateX(-52px) translateY(38px);
  }
  .about-collage--portrait .about-collage__item:nth-child(2) {
    transform: rotate(-3deg) translateY(-48px);
  }
  .about-collage--portrait .about-collage__item:nth-child(3) {
    transform: rotate(3deg) translateX(52px) translateY(28px);
  }
  .about-collage--landscape .about-collage__item {
    width: 155px;
    height: 105px;
  }
  .about-promise {
    padding: var(--space-6);
  }
  .about-promise__bold {
    font-size: 1.125rem;
  }
}
