/*
  About Us page styles.
  Values below are the literal tokens from applications/DESIGN.md (colors,
  typography, effects, spacing, rounded) — kept inline rather than as CSS
  vars to match the convention already used in the other component CSS files
  (hero.css, card.css, call_to_action.css).
*/

/* Hero */
.au-hero {
  position: relative;
  overflow: hidden;
  /* same exact gradient colors as .hm-hero-split on feature/Home-Metascan
     (--hm-black #0d0d0d, --hm-purple #782dbf) */
  background: linear-gradient(135deg, #0d0d0d, #782dbf);
  color: #ffffff;
  padding: 3rem 1.5rem;
}

.au-hero-inner {
  position: relative;
  z-index: 2;
  /* 1200px matches .hm-hero-split-inner's max-width in home.css, the
     shared width standard used by Home and the other redesigned pages */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 900px) {
  .au-hero-inner {
    flex-direction: row;
  }
}

.au-hero-media {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

.au-hero-media img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.au-hero-content {
  flex: 1 1 480px;
  text-align: center;
}

@media (min-width: 900px) {
  .au-hero-content {
    text-align: left;
  }
}

.au-hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2); /* hairline-strong */
  border-radius: 9999px; /* rounded.pill */
  backdrop-filter: blur(5px); /* effects.glass-blur */
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem; /* typography.body-sm */
  color: #888888; /* ink-tertiary */
  margin-bottom: 1.25rem;
}

.au-hero-title {
  font-family: "Dela Gothic One", cursive;
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 1rem;
  text-align: inherit; /* style.css sets a global h1 { text-align: left } that beats inheritance */
}

.au-hero-title-gradient {
  color: #d9c7f0; /* same lavender used for .ft-accent on feature/fashion-3d-scans */
}

.au-hero-description {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem; /* typography.body-lg */
  line-height: 1.6;
  color: #a0a0a0; /* ink-muted */
  margin: 0 0 2rem;
}

/* Buttons */
.au-button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  border-radius: 8px; /* rounded.sm */
  background: linear-gradient(to right, #6a0dad, #8a2be2); /* gradient-primary */
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.au-button-primary:hover {
  transform: translateY(-3px) scale(1.02); /* hover-lift-strong */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* button-shadow-hover */
}

/* Sections */
.au-main {
  background-color: #1a1a1a; /* colors.canvas — flat dark gray, matches metascan.es body background */
}

.au-section {
  padding: 64px 5%; /* spacing.section spacing.page */
}

.au-section-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.au-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.au-section-eyebrow {
  color: #8a2be2; /* primary */
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.au-section-title {
  color: #ffffff;
  font-family: "Dela Gothic One", cursive;
  font-weight: 400;
  font-size: 2.5rem; /* typography.display-sm */
  line-height: 1.2;
  margin: 0;
  text-align: center; /* style.css sets a global h2 { text-align: left } that beats inheritance */
  overflow-wrap: break-word; /* long single words (e.g. "Multidisciplinary") would
                                 otherwise overflow the mobile viewport instead of wrapping */
}

@media (max-width: 480px) {
  /* "A Multidisciplinary Team" is the longest section title on the page;
     shrink it on mobile so it wraps cleanly between words instead of
     breaking mid-word. */
  .au-section-title-team {
    font-size: 1.75rem;
  }
}

.au-section-intro {
  color: #a0a0a0; /* ink-muted */
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem; /* body-lg */
  line-height: 1.6;
  margin: 0;
}

/* Our Story — section-two-column-card: feature-row wrapped in a glass card */
.au-story {
  display: flex;
  flex-direction: column;
  gap: 24px; /* spacing.lg */
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  border-radius: 16px; /* rounded.lg */
  padding: 32px; /* spacing.xl */
}

@media (min-width: 800px) {
  .au-story {
    flex-direction: row;
    align-items: stretch;
  }
}

.au-story-image {
  flex: 1;
  display: flex;
}

.au-story-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 12px; /* rounded.md */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* card-shadow-hover */
}

.au-story-text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.au-story-text p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #a0a0a0; /* ink-muted */
  margin: 0;
}

/* Cards grid — glass card, matches components/card/card.css */
.au-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; /* spacing.lg */
}

.au-card {
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  border-radius: 8px; /* rounded.sm */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* card-shadow */
  backdrop-filter: blur(5px); /* glass-blur */
  padding: 0.8rem;
  transition: all 0.3s ease;
}

.au-card:hover {
  background-color: rgba(255, 255, 255, 0.08); /* surface-glass-hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* card-shadow-hover */
  transform: translateY(-2px); /* hover-lift */
}

.au-card-wide {
  grid-column: 1 / -1;
}

.au-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.au-card-description {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #a0a0a0; /* ink-muted */
  margin: 0;
}

/* Badges */
.au-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* spacing.xs */
  margin-top: 1rem;
}

.au-badge-row-center {
  justify-content: center;
}

.au-badge {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.75rem; /* typography.caption */
  padding: 3px 10px;
  border-radius: 9999px; /* rounded.pill */
  background-color: rgba(138, 43, 226, 0.15);
  color: #8a2be2; /* primary */
}

.au-badge-neutral {
  background-color: rgba(255, 255, 255, 0.08); /* surface-glass-hover */
  color: #a0a0a0; /* ink-muted */
}

/* Our Team */
.au-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; /* spacing.lg */
}

.au-team-card {
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  border-radius: 8px; /* rounded.sm */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* card-shadow */
  backdrop-filter: blur(5px);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.au-team-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.au-team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 12px; /* rounded.md */
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  margin-bottom: 1rem;
}

.au-team-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.au-team-name a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.au-team-name a:hover {
  color: #8a2be2; /* primary */
}

.au-team-role {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem; /* body-sm */
  color: #a0a0a0; /* ink-muted */
}

.au-team-note {
  margin-top: 4rem;
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888888; /* ink-tertiary */
}

/* "Accelerated by" section: bigger label and badges than the default
   au-team-note/au-badge sizing, without affecting the SDG badges above
   (which reuse .au-badge) or other team-note text. */
.au-team-note-accelerated {
  font-size: 1rem;
}

.au-badge-row-accelerated .au-badge {
  font-size: 1rem;
  padding: 6px 16px;
}

.au-badge-row-accelerated {
  align-items: center;
  /* matches home.css's .hm-tech-presence-strip gap, so the logos breathe
     the same way as Home's client logo strip */
  gap: 2rem;
  margin-top: 2.75rem;
}

/* Same treatment as home.css's .hm-tech-badge img: flatten each partner
   logo to white so it reads on the dark canvas regardless of its
   original colors, matching the Home page's client logo strip. */
.au-badge-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Event Gallery */
.au-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; /* spacing.lg */
}

.au-gallery-card {
  aspect-ratio: 4 / 3;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  border-radius: 12px; /* rounded.md */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.au-gallery-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.au-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Final CTA — call-to-action: gradient border wrapper + glass panel */
.au-final-cta-wrapper {
  background: linear-gradient(to right, #6a0dad, #8a2be2); /* gradient-primary */
  padding: 3px; /* call-to-action.gradientBorderWidth */
  border-radius: 12px; /* rounded.md */
  margin: 64px 5%;
}

.au-final-cta {
  background-color: rgba(26, 26, 26, 0.8); /* surface-glass-cta */
  backdrop-filter: blur(10px); /* glass-blur-strong */
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  padding: 4rem 2rem;
}

.au-final-cta-title {
  font-family: "Dela Gothic One", cursive;
  font-weight: 400;
  font-size: 2.5rem; /* display-sm */
  margin: 0 0 1rem;
  text-align: center; /* style.css sets a global h2 { text-align: left } that beats inheritance */
}

.au-follow-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a0a0a0; /* ink-muted */
  margin: 2rem 0 1rem;
}

.au-social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.au-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  color: #8a2be2; /* primary */
  transition: all 0.3s ease;
}

.au-social-link svg {
  width: 20px;
  height: 20px;
}

.au-social-link:hover {
  transform: translateY(-2px); /* hover-lift */
  background: linear-gradient(to right, #6a0dad, #8a2be2);
  color: #ffffff;
}

.au-email-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  color: #8a2be2; /* primary */
  text-decoration: underline;
}
