/* -------------------------------------------------------
 * About Page — matches global theme design system
 * Uses existing CSS variables from style.css:
 *   --color-primary, --color-gold, --color-text,
 *   --color-muted, --color-bg-alt, --color-border,
 *   --font-heading, --font-base, --max-width,
 *   --page-section-fs-heading, --page-section-fs-sub, --page-section-fs-body
 * ----------------------------------------------------- */

/* Horizontal start matches .about-hero__content + .navbar .container (centered rail) */
.about-wrap {
  --about-text-inset: calc(max(0px, calc((100vw - var(--max-width, 1280px)) / 2)) + var(--px-desktop, 24px));
}

/* -------------------------------------------------------
 * Scroll-reveal animation
 * ----------------------------------------------------- */
.about-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-reveal--delay {
  transition-delay: 0.1s;
}

.about-reveal--delay-1 {
  transition-delay: 0.18s;
}

.about-reveal--delay-2 {
  transition-delay: 0.28s;
}

.about-reveal--delay-3 {
  transition-delay: 0.38s;
}

.about-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------
 * Shared: image placeholders
 * ----------------------------------------------------- */
.about-placeholder {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, #e8eaed 100%);
}

.about-placeholder--portrait {
  aspect-ratio: 3 / 4;
  width: 100%;
}

.about-placeholder--square {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.about-placeholder--landscape {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.about-placeholder--avatar {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 4px;
}

.about-placeholder__label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Framed photos (Our Story / Materials) — replaces placeholder when real assets are used */
.about-section__photo {
  border: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
  background: var(--color-bg-alt);
}

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

/* -------------------------------------------------------
 * Shared: eyebrow label
 * ----------------------------------------------------- */
.about-eyebrow {
  display: block;
  font-size: var(--page-section-fs-sub);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* -------------------------------------------------------
 * Shared: outline CTA button
 * ----------------------------------------------------- */
.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.about-btn:hover {
  background: var(--color-primary-hover, #0f2149);
}

/* -------------------------------------------------------
 * HERO — shared on About, Contact, Terms, Privacy, Shipping
 * ----------------------------------------------------- */
.about-hero {
  position: relative;
  height: clamp(140px, 18vw, 260px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(20px, 3vw, 28px);
  background: var(--color-primary);
}

/* subtle diagonal texture */
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      var(--color-primary) 0%,
      #0f2149 60%,
      #1a3264 100%);
  opacity: 0.95;
}

.about-hero__bg {
  display: none;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.35) 0%,
      transparent 60%);
}

.about-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 var(--px-desktop, 24px);
}

.about-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--page-section-fs-heading);
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.15;
  text-transform: capitalize;
}

.about-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.about-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.about-hero__breadcrumb a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------------------
 * BRAND STORY — text left / image right (wider text, smaller image)
 * Both columns align to the same vertical center (not only the placeholder).
 * ----------------------------------------------------- */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.88fr);
  align-items: center;
  column-gap: clamp(12px, 2vw, 28px);
  min-height: min(100vh, 920px);
  padding: clamp(56px, 8vw, 88px) 0;
  background: #fff;
}

.about-story__text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.about-story__text {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-left: var(--about-text-inset);
  padding-right: clamp(16px, 2.5vw, 32px);
}

.about-story__media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 0 clamp(12px, 2vw, 24px) 0 0;
}

.about-story__media .about-section__photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 640px);
}

.about-story__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--page-section-fs-heading);
  line-height: 1.2;
  margin: 0 0 24px;
  color: var(--color-text);
}

.about-story__text p {
  font-size: var(--page-section-fs-body);
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 14px;
  max-width: 500px;
}

.about-story__tagline {
  font-size: var(--page-section-fs-body) !important;
  font-weight: 600 !important;
  color: var(--color-primary) !important;
  margin-top: 20px !important;
}

/* -------------------------------------------------------
 * MATERIALS — image left / text right (mirror: smaller image, same alignment)
 * ----------------------------------------------------- */
.about-materials {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.05fr);
  align-items: center;
  column-gap: clamp(12px, 2vw, 28px);
  min-height: min(100vh, 920px);
  padding: clamp(56px, 8vw, 88px) 0;
  background: #fff;
}

.about-materials__media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 0 clamp(12px, 2vw, 24px) 0 clamp(16px, 3vw, 32px);
}

.about-materials__media .about-section__photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 640px);
}

.about-materials__text-wrap {
  display: flex;
  align-items: center;
  padding: 0;
}

.about-materials__text {
  padding-left: clamp(24px, 4vw, 48px);
  padding-right: var(--px-desktop);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-materials__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--page-section-fs-heading);
  line-height: 1.2;
  margin: 0 0 24px;
  color: var(--color-text);
}

.about-materials__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-materials__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--page-section-fs-body);
  line-height: 1.65;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.about-materials__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-materials__list strong {
  color: var(--color-text);
  font-weight: 600;
}

/* -------------------------------------------------------
 * CLOSING CTA
 * ----------------------------------------------------- */
.about-cta {
  background: #000;
  padding: 72px 0;
  text-align: center;
}

.about-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-cta__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--page-section-fs-heading);
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 12px;
}

.about-cta__sub {
  font-size: var(--page-section-fs-sub);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 36px;
  text-transform: uppercase;
}

.about-cta__btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.about-cta__btn:hover {
  background: var(--color-primary-hover, #0f2149);
}

/* Testimonials on About — match heading / body scale (homepage unchanged) */
.about-wrap .testimonials__title {
  font-size: var(--page-section-fs-heading);
}

.about-wrap .testimonial-card__text,
.about-wrap .testimonial-card__reviewer,
.about-wrap .testimonial-card__reviewer strong {
  font-size: var(--page-section-fs-body);
}

.about-wrap .testimonial-card__score {
  font-size: var(--page-section-fs-body);
}

/* -------------------------------------------------------
 * RESPONSIVE — Tablet (≤ 900px)
 * ----------------------------------------------------- */
@media (max-width: 900px) {

  .about-story {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-story__text-wrap {
    padding: 56px 0 24px;
  }

  .about-story__text {
    padding-right: var(--px-desktop);
  }

  .about-story__media {
    padding: 0 var(--px-desktop) 40px;
  }

  .about-story__media .about-section__photo {
    max-width: 100%;
    max-height: none;
    min-height: 52vh;
    aspect-ratio: 4 / 5;
  }

  .about-story__text p {
    max-width: 100%;
  }

  .about-materials {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-materials__media {
    padding: 40px var(--px-desktop) 24px;
  }

  .about-materials__media .about-section__photo {
    max-width: 100%;
    max-height: none;
    min-height: 52vh;
    aspect-ratio: 4 / 5;
  }

  .about-materials__text-wrap {
    padding: 16px 0 56px;
  }

  .about-materials__text {
    padding-left: var(--px-desktop);
    padding-right: var(--px-desktop);
  }

}

/* -------------------------------------------------------
 * RESPONSIVE — Mobile (≤ 600px)
 * ----------------------------------------------------- */
@media (max-width: 600px) {

  .about-story__text-wrap {
    padding: 40px 0 20px;
  }

  .about-story__text {
    padding-right: var(--px-mobile);
  }

  .about-story__media {
    padding: 0 var(--px-mobile) 32px;
  }

  .about-story__media .about-section__photo {
    min-height: 48vh;
  }

  .about-materials__text-wrap {
    padding: 40px 0 32px;
  }

  .about-materials__text {
    padding-left: var(--px-mobile);
    padding-right: var(--px-mobile);
  }

  .about-materials__heading br {
    display: none;
  }

  .about-materials__media {
    padding: 32px var(--px-mobile) 20px;
  }

  .about-materials__media .about-section__photo {
    min-height: 48vh;
  }

  .about-cta {
    padding: 52px 0;
  }

}