/* =============================================================================
   ABOUT.CSS — CR8TIF About Page Styles
   Page header, who we are, values, locations, stats
   ============================================================================= */

/* ---------------------------------------------------------------------------
   About Intro — Light BG, Split: Text Left, Image Right
   --------------------------------------------------------------------------- */
.about-intro {
  /* inherits .section .section--light */
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.about-intro__text {
  max-width: 540px;
}

.about-intro__text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
}

.about-intro__text .lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-intro__text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-dark-muted);
}

.about-intro__text .btn-outline {
  margin-top: 2.5rem;
}

/* Image with decorative corner brackets */
.about-intro__image {
  position: relative;
}

.about-intro__image-frame {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.about-intro__image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-intro__image-frame:hover img {
  transform: scale(1.02);
}

/* ---------------------------------------------------------------------------
   Values / Pillars — Dark Section, 3 Columns
   --------------------------------------------------------------------------- */
.about-values {
  /* inherits .section .section--dark-alt */
}

.about-values__header {
  text-align: center;
  margin-bottom: clamp(4rem, 6vw, 6rem);
}

.about-values__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-dark);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 3vw, 3.5rem);
}

.about-values__card {
  padding: clamp(3rem, 4.5vw, 4rem);
  border: 1px solid var(--border-dark);
  position: relative;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.about-values__card:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.08);
}

/* Gold accent on LEFT side */
.about-values__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-values__card:hover::before {
  height: 100%;
}

/* Decorative gold corner brackets */
.about-values__card::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-right: 2px solid rgba(196, 162, 101, 0.15);
  border-bottom: 2px solid rgba(196, 162, 101, 0.15);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.about-values__card:hover::after {
  border-color: rgba(196, 162, 101, 0.35);
}

.about-values__image-wrapper {
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-radius: 2px;
}

.about-values__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-values__card:hover .about-values__image-wrapper img {
  transform: scale(1.03);
}

.about-values__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  position: relative;
  padding-bottom: 0.75rem;
}

/* Gold underline on value titles */
.about-values__content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.about-values__content p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-dark-muted);
}

/* ---------------------------------------------------------------------------
   Locations — Light BG, 2 Cards
   --------------------------------------------------------------------------- */
.about-locations {
  /* inherits .section .section--light */
}

.about-locations__header {
  margin-bottom: clamp(3.5rem, 5vw, 5rem);
}

.about-locations__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-dark);
}

.about-locations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 3vw, 3rem);
}

.about-locations__card {
  padding: clamp(3rem, 4.5vw, 4rem);
  background: white;
  border: 1px solid var(--border-dark);
  position: relative;
  transition: box-shadow 0.4s ease, transform 0.3s ease, border-color 0.4s ease;
  box-shadow: 0 8px 30px rgba(42, 37, 32, 0.04);
}

.about-locations__card:hover {
  box-shadow: 0 16px 60px rgba(42, 37, 32, 0.1);
  transform: translateY(-4px);
  border-color: var(--gold-dim);
}

/* Gold line at top */
.about-locations__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-locations__card:hover .about-locations__accent {
  width: 100%;
}

.about-locations__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.about-locations__icon svg {
  width: 40px;
  height: 40px;
}

.about-locations__card h6 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.about-locations__card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-locations__address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-dark-muted);
  margin-bottom: 0.5rem;
}

.about-locations__tagline {
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 1rem;
  font-style: italic;
}

/* ---------------------------------------------------------------------------
   Numbers / Stats — Dark BG, Animated Counters
   --------------------------------------------------------------------------- */
.about-numbers {
  /* inherits .section .section--dark */
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern */
.about-numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(196, 162, 101, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.about-numbers__header {
  text-align: center;
  margin-bottom: clamp(4rem, 6vw, 6rem);
  position: relative;
  z-index: 1;
}

.about-numbers__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-dark);
}

.about-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 3vw, 3rem);
  position: relative;
  z-index: 1;
}

.about-numbers__item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

/* Vertical dividers between stats */
.about-numbers__item + .about-numbers__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border-dark);
}

.about-numbers__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.about-numbers__value--infinity {
  font-size: clamp(3rem, 5vw, 4rem);
}

.about-numbers__label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  display: block;
}

/* Animation state for counters */
.about-numbers__value[data-count-to] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-numbers__value.is-counted {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------------------
   Responsive Overrides for About Page
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-intro__image {
    order: -1;
  }

  .about-intro__image-frame {
    max-height: 450px;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-locations__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-numbers__item + .about-numbers__item::before {
    display: none;
  }

  .about-numbers__item:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border-dark);
  }
}

@media (max-width: 768px) {
  .about-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .about-numbers__item:nth-child(odd)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .about-numbers__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-numbers__item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-dark);
  }

  .about-numbers__item:last-child {
    border-bottom: none;
  }

  .about-locations__card {
    padding: 2rem 1.5rem;
  }
}
