/* About Us Page Styles
 * Matches the NineCart Figma export exactly: white canvas, brand purple
 * (#763972) for every heading/eyebrow/accent, a pale photographic banner
 * with dark body copy for "Global Reach, Personal Accountability," and a
 * light-gray contact section with solid-purple contact cards.
 */

.about-us-page {
  background-color: #ffffff;
  color: var(--brand-dark-gray, #333333);
  font-family: var(--font-body, var(--font-primary, "Sharp Sans", sans-serif));
  overflow-x: hidden;
}

.about-us-page .static-picture {
  display: block;
  width: 100%;
  height: auto;
}

/* Only the section-1 hero overlay needs its <picture> to fill an
   absolutely-positioned, definite-height container -- everywhere else
   height:100% against an auto-height parent collapses to 0. */
.about-story__media .static-picture {
  height: 100%;
}

/* Shared heading treatment: small tracked eyebrow line + larger bold
   line underneath, both in brand purple. Title case, not uppercase --
   no underline accent (the source design doesn't use one here). */
.about-heading {
  font-family: var(--font-display, var(--font-primary, "Sharp Sans", sans-serif));
  margin: 0 0 24px 0;
}

.about-heading__primary {
  display: block;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--color-brand, #763972);
  margin-bottom: 4px;
}

.about-heading__accent {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1px;
  color: var(--color-brand, #763972);
}

.about-highlight {
  color: var(--color-brand, #763972);
  font-weight: 700;
}

.about-copy {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--brand-gray, #666666);
  margin: 0 0 20px 0;
}

.about-copy:last-child {
  margin-bottom: 0;
}

/* =========================================================
 * Made for Every Part of Your Day
 * ========================================================= */

.about-story {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 40px;
}

.about-story__media {
  flex: 0 0 57%;
  max-width: 57%;
}

.about-story__content {
  flex: 1 1 auto;
  min-width: 0;
}

.about-story__image {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
 * Global Reach, Personal Accountability
 * ========================================================= */

.about-banner {
  position: relative;
  max-width: 1320px;
  margin: 0 40px;
  border-radius: 24px;
  overflow: hidden;
}

.about-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

.about-banner__content {
  padding: 40px 24px 0;
}

/* Body copy inside the banner sits on a pale photo, so it stays dark --
   no light/overlay treatment needed. */
.about-banner .about-copy {
  color: #2a2a2a;
}

/* =========================================================
 * Your Day, Fully Supported
 * ========================================================= */

.about-feature {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 40px;
}

.about-feature__content {
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
}

.about-feature__media {
  flex: 0 0 57%;
  max-width: 57%;
  order: 2;
}

.about-feature__image {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
 * Contact
 * ========================================================= */

.about-contact {
  background-color: #f9f9f9;
  text-align: center;
}

.about-contact__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 40px 120px;
}

.about-contact__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 16px 0;
  position: relative;
  padding-bottom: 20px;
}

.about-contact__eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 1px;
  transform: translateX(-50%);
  background: #000000;
}

.about-contact__title {
  font-family: var(--font-display, var(--font-primary, "Sharp Sans", sans-serif));
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 0.5px;
  margin: 0 0 48px 0;
}

.about-contact__cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto 56px;
}

.about-contact__card {
  flex: 1 1 260px;
  max-width: 260px;
  background: var(--color-brand, #763972);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 32px 20px;
}

.about-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fcf3f3;
  color: var(--color-brand, #763972);
  margin-bottom: 16px;
}

.about-contact__icon svg {
  width: 22px;
  height: 22px;
}

.about-contact__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.about-contact__value {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  word-break: break-word;
}

.about-contact__meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.about-contact__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-contact__meta-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand, #763972);
  color: #ffffff;
}

.about-contact__meta-icon svg {
  width: 20px;
  height: 20px;
}

.about-contact__meta-text {
  flex: 1 1 auto;
  min-width: 0;
}

.about-contact__meta-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-brand, #763972);
  margin: 0 0 4px 0;
}

.about-contact__meta-value {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--brand-gray, #666666);
  margin: 0;
}

.about-contact__address {
  font-style: normal;
}

/* =========================================================
 * Responsive
 * ========================================================= */

@media (max-width: 1100px) {
  .about-story {
    padding: 80px 32px;
    gap: 28px;
  }

  .about-feature {
    padding: 80px 32px;
    gap: 28px;
  }

  .about-banner {
    margin: 0 32px;
  }

  .about-heading__accent {
    font-size: 26px;
  }

  .about-contact__title {
    font-size: 26px;
  }
}

@media (max-width: 1023px) {
  /* Text overlays the image's own blank gradient area (top); the
     product photo sits at the bottom, never cropped or moved. Both
     hero sections (Made For / Global Reach) use the same technique --
     only the source photo differs. Card width is capped (not just
     margined) so tablet-width viewports -- which still receive the
     mobile-cropped image, since responsive_static_image only swaps to
     the desktop crop at 1024px -- don't stretch the fixed aspect-ratio
     into an oversized card. */
  .about-story,
  .about-banner {
    position: relative;
    display: block;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    aspect-ratio: 365 / 1223;
  }

  .about-story__media,
  .about-banner .static-picture {
    position: absolute;
    inset: 0;
    max-width: 100%;
    flex: none;
    z-index: 0;
    height: 100%;
  }

  .about-story__image,
  .about-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  .about-story__content,
  .about-banner__content {
    position: relative;
    z-index: 1;
    padding: 48px 24px 0;
  }

  .about-feature {
    flex-direction: column;
    align-items: stretch;
    padding: 56px 24px;
    gap: 32px;
    text-align: center;
  }

  .about-feature__content {
    max-width: 100%;
    flex: none;
    order: initial;
  }

  /* Same reasoning as the hero cards above: this image only swaps to
     its desktop crop at 1024px, so cap its width at tablet sizes
     rather than letting the mobile crop stretch full-width. */
  .about-feature__media {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    flex: none;
    order: initial;
  }

  .about-contact__inner {
    padding: 64px 20px 80px;
  }

  .about-contact__title {
    font-size: 22px;
  }

  .about-contact__cards {
    flex-direction: column;
    align-items: stretch;
    max-width: 260px;
  }

  .about-contact__card {
    width: 100%;
  }

  .about-contact__meta {
    text-align: center;
  }

  .about-contact__meta-item {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .about-heading__accent {
    font-size: 23px;
    letter-spacing: 0.3px;
  }

  .about-contact__title {
    font-size: 20px;
  }
}

/* Desktop: the banner photo has built-in negative space on its right
   half, so the text overlays there instead of stacking below the
   image like it does on mobile. Matches the 1024px breakpoint where
   responsive_static_image switches to the wide desktop crop (see
   media_query_for_static_variant in h9-commerce's image helper). */
@media (min-width: 1024px) {
  .about-banner {
    display: flex;
    align-items: center;
  }

  .about-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-banner__content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin-left: auto;
    padding: 64px 64px 64px 0;
  }
}

/* Reduced Motion / Print unaffected: page is static, no transitions used */
