/* About page — editorial, light layout */

.page-about .site-footer {
  margin-top: 0;
}

/* Full-width visual + offset panel */
.about-visual {
  position: relative;
  margin-bottom: var(--space-4xl);
}

.about-visual__media {
  height: clamp(320px, 52vh, 560px);
  overflow: hidden;
}

.about-visual__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.about-visual__panel {
  position: relative;
  max-width: 34rem;
  margin-top: calc(-1 * var(--space-3xl));
  padding: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-visual__quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.about-visual__panel > p:not(.about-visual__quote) {
  margin-top: var(--space-md);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-visual__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Story */
.about-story {
  padding-top: 0;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-story__text .section-title {
  margin-top: var(--space-sm);
}

.about-story__text p {
  margin-top: var(--space-md);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-story__photos {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-md);
  align-items: end;
}

.about-story__photo {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-story__photo--main {
  aspect-ratio: 3 / 4;
}

.about-story__photo--sub {
  aspect-ratio: 1;
  margin-bottom: var(--space-2xl);
}

/* Principles */
.about-principles {
  background: var(--color-bg-alt);
  border-block: 1px solid var(--color-border);
}

.about-principles__head {
  margin-bottom: var(--space-2xl);
}

.about-principles__head .section-title {
  margin-top: var(--space-sm);
}

.about-principles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.about-principle {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.about-principle:hover {
  border-color: rgba(var(--color-accent-rgb), 0.3);
  box-shadow: var(--shadow-sm);
}

.about-principle__index {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.about-principle h3 {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.about-principle p {
  margin-top: var(--space-sm);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Gallery band */
.about-gallery-band {
  padding-block: var(--space-4xl);
}

.about-gallery-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.about-gallery-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.about-gallery-band__item {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-gallery-band__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-gallery-band__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-gallery-band__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 1023px) {
  .about-story__grid,
  .about-principles__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-gallery-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-gallery-band__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .about-story__grid,
  .about-principles__grid,
  .about-gallery-band__grid {
    grid-template-columns: 1fr;
  }

  .about-story__photos {
    grid-template-columns: 1fr 1fr;
  }

  .about-story__photo--sub {
    margin-bottom: 0;
  }

  .about-visual__media {
    height: 280px;
  }
}
