/* About Page - Brand Identity Documentation */

/* ── Page header ───────────────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--color-black) 0%, rgba(var(--rgb-navy), 0.4) 100%);
  padding: var(--space-16) var(--space-6);
  text-align: center;
}

.about-hero h1 {
  color: var(--color-white);
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: var(--space-4);
}

.about-hero .lead {
  color: var(--color-gray-300);
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-hero {
    padding: var(--space-12) var(--space-4);
  }

  .about-hero h1 {
    font-size: var(--text-3xl);
  }

  .about-hero .lead {
    font-size: var(--text-base);
  }
}

/* ── Desktop: Two-column sticky layout ─────────────────────────────── */
.about-layout {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.about-text-side {
  order: 1;
  flex: 1;
  width: 50vw;
  max-width: 50vw;
  padding: var(--space-8);
  overflow-x: hidden;
}

/* override container-narrow on desktop so it stays at 50vw */
.about-text-side.container-narrow {
  max-width: 50vw;
}

.about-image-side {
  position: sticky;
  top: 0;
  width: 50vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  order: 2;
  background-color: var(--color-black-soft);
  padding: 0;
  overflow: hidden;
}

.image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-image {
  width: 100%;
  height: auto;
  display: block;
}

/* shared.css makes `article section` full-bleed (100vw with a negative
   margin), which is right for a page-wide article. This article sits in the
   50vw column, so those sections have to stay inside it instead of spanning
   the viewport and sliding under the brand image. */
.about-text-side section,
.about-text-side section:nth-child(even) {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.about-text-side section > * {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Nizza class lists (was an inline <style> block in about.html) */
.about-text-side ul {
  list-style: none;
  padding-left: var(--space-4);
  margin-bottom: var(--space-4);
}

.about-text-side li {
  color: var(--color-gray-300);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-2);
  font-weight: inherit;
}

.about-text-side li::before {
  content: "– ";
  color: var(--color-gold);
}

/* ── Article sections ──────────────────────────────────────────────── */
article section {
  padding: var(--space-8) var(--space-4);
  border-bottom: 1px solid var(--color-gray-400);
}

article section:last-child {
  border-bottom: none;
}

article section h2 {
  color: var(--color-navy-light);
  margin-bottom: var(--space-4);
}

article section h3 {
  color: var(--color-navy-light);
  font-size: var(--text-lg);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

article p {
  color: var(--color-gray-300);
}

.accessibility-heading-blue {
  color: var(--color-navy-light) !important;
}

/* ── Mobile: single column, image on top ──────────────────────────── */
@media (max-width: 1024px) {
  .about-layout {
    flex-direction: column;
  }

  /* image first */
  .about-image-side {
    position: relative;
    width: 100%;
    height: auto;
    order: 1;
    overflow: visible;
  }

  .brand-image {
    width: 100%;
  }

  /* text below, full width */
  .about-text-side,
  .about-text-side.container-narrow {
    order: 2;
    width: 100%;
    max-width: 100%;
    padding: var(--space-6) var(--space-4);
  }
}

@media (max-width: 768px) {
  .about-text-side,
  .about-text-side.container-narrow {
    padding: var(--space-4) var(--space-4);
  }

  article section h2 {
    font-size: var(--text-xl);
  }

  article section p {
    font-size: var(--text-base);
    line-height: var(--leading-normal);
  }
}

@media (max-width: 480px) {
  .about-text-side,
  .about-text-side.container-narrow {
    padding: var(--space-4);
  }

  article section h2 {
    font-size: var(--text-lg);
  }

  article section p {
    font-size: 14px;
  }
}
