/* About page styles — scoped to .about-page */

.about-page {
  --about-gap: var(--space-2xl);
  --about-card-pad: var(--space-lg);
  --about-border: 1px solid var(--color-mahogany);
  --about-gold-border: 1px solid var(--color-gold);
}

.about-page .section {
  padding-block: var(--space-4xl);
}

.about-page .eyebrow {
  margin-block-end: var(--space-sm);
}

.about-page h2 {
  margin-block-end: var(--space-xl);
}

.about-page h3 {
  margin-block-end: var(--space-md);
}

.about-page p {
  margin-block-end: var(--space-md);
}

.about-page .container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-desktop);
}

/* Hero */
.about-hero {
  padding-block: var(--space-4xl);
  background: linear-gradient(to bottom, rgba(15, 13, 14, 0.7), rgba(15, 13, 14, 0.7));
}

.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-2xl);
  align-items: center;
}

.about-hero__text {
  min-width: 0;
  max-width: 45ch;
}

.about-hero__lead {
  font-size: var(--text-h4);
  line-height: var(--leading-heading);
  color: rgba(255, 255, 255, 0.9);
  margin-block-end: var(--space-xl);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.about-hero__media {
  position: relative;
  min-width: 0;
}

.about-hero__figure {
  margin: 0;
  border: var(--about-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__stat {
  position: absolute;
  right: var(--space-lg);
  bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  background: rgba(15, 13, 14, 0.85);
  border: var(--about-gold-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-card);
  min-width: 140px;
}

.about-hero__stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h2);
  line-height: 1;
  color: var(--color-gold);
}

.about-hero__stat-label {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* Story */
.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-3xl);
  align-items: start;
}

.about-story__text {
  min-width: 0;
}

.about-story__block {
  margin-block-end: var(--space-xl);
}

.about-story__block:last-child {
  margin-block-end: 0;
}

.about-story__block p {
  max-width: 60ch;
}

.about-highlight {
  color: var(--color-gold);
  font-weight: 600;
}

.about-story__media {
  margin: 0;
  border: var(--about-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: sticky;
  top: var(--space-xl);
}

.about-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Philosophy */
.about-philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.about-philosophy__card {
  min-width: 0;
  border-top: 3px solid var(--color-gold);
  padding: var(--about-card-pad);
  transition: border-color var(--transition-fast);
}

.about-philosophy__card:hover {
  border-color: var(--color-gold);
}

.about-philosophy__card p {
  max-width: 40ch;
}

/* Team */
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.about-team__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-team__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-modal);
}

.about-team__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  aspect-ratio: 1 / 1;
}

.about-team__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team__body {
  padding: var(--space-lg);
  text-align: center;
}

.about-team__body h3 {
  text-align: center;
}

.about-team__body p {
  max-width: 40ch;
  margin-inline: auto;
  text-align: left;
}

/* Spaces */
.about-spaces__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl);
}

.about-spaces__item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}

.about-spaces__media {
  margin: 0;
  border: var(--about-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-spaces__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-spaces__text {
  min-width: 0;
}

.about-spaces__text p {
  max-width: 60ch;
}

/* Events */
.about-events {
  background-color: var(--color-raisin);
  border-block: var(--about-border);
}

.about-events__inner {
  max-width: 800px;
  margin-inline: auto;
}

.about-events__content {
  display: grid;
  gap: var(--space-xl);
}

.about-events__block {
  min-width: 0;
}

.about-events__block p {
  max-width: 60ch;
}

.about-events__block .btn {
  margin-block-start: var(--space-md);
}

/* Testimonials */
.about-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}

.about-testimonial {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: var(--space-xl);
  background: var(--color-raisin);
  border: var(--about-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.about-testimonial__mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-gold);
  margin-block-end: var(--space-md);
}

.about-testimonial p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-h4);
  line-height: var(--leading-heading);
  max-width: 40ch;
  margin-block-end: var(--space-md);
}

.about-testimonial cite {
  display: block;
  font-style: normal;
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.7);
}

/* Visit */
.about-visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-3xl);
  align-items: start;
}

.about-visit__text {
  min-width: 0;
}

.about-visit__block {
  margin-block-end: var(--space-xl);
}

.about-visit__block:last-child {
  margin-block-end: 0;
}

.about-visit__block p {
  max-width: 60ch;
}

.about-visit__address {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-start: var(--space-md);
  padding: var(--space-md);
  background: var(--color-raisin);
  border: var(--about-border);
  border-radius: var(--radius-md);
  font-size: var(--text-small);
}

.about-visit__address a {
  color: var(--color-gold);
}

.about-visit__address a:hover {
  color: var(--color-ivory);
}

.about-visit__map {
  min-width: 0;
}

.about-visit__map-frame {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: var(--about-border);
  border-radius: var(--radius-md);
  background: var(--color-raisin);
}

.about-visit__map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Final CTA */
.about-cta {
  padding-block: var(--space-4xl);
}

.about-cta__panel {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  background: var(--color-raisin);
  border: var(--about-gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-modal);
}

.about-cta__panel p {
  max-width: 50ch;
  margin-inline: auto;
  margin-block-end: var(--space-xl);
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* Tablet */
@media (max-width: 1024px) {
  .about-page .section {
    padding-block: var(--space-3xl);
  }

  .about-hero__inner,
  .about-story__grid,
  .about-visit__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-hero__text {
    max-width: 60ch;
  }

  .about-story__media {
    position: static;
  }

  .about-philosophy__grid,
  .about-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-spaces__grid {
    grid-template-columns: 1fr;
  }

  .about-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-page .container {
    padding-inline: var(--container-pad-mobile);
  }

  .about-page .section {
    padding-block: var(--space-2xl);
  }

  .about-hero {
    padding-block: var(--space-2xl);
  }

  .about-hero__inner {
    gap: var(--space-lg);
  }

  .about-hero__lead {
    font-size: var(--text-body);
  }

  .about-hero__actions,
  .about-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-hero__actions .btn,
  .about-cta__actions .btn {
    width: 100%;
  }

  .about-hero__stat {
    right: var(--space-md);
    bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    min-width: 120px;
  }

  .about-philosophy__grid,
  .about-team__grid {
    grid-template-columns: 1fr;
  }

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

  .about-cta__panel {
    padding: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .about-hero__stat {
    position: static;
    margin-block-start: var(--space-md);
    width: 100%;
  }

  .about-hero__media {
    display: flex;
    flex-direction: column;
  }

  .about-visit__map-frame {
    aspect-ratio: 4 / 3;
  }
}
