/* About page — editorial brand story. Scoped under .about; reuses tokens from main.css. */

.about {
  --a-ink: #14161f;
  --a-bone: #f4f1ec;
  --a-blue: var(--color-accent);
  --a-saffron: #f2b632;
  --a-muted: #55524a;
  --a-gutter: clamp(16px, 4vw, 40px);
  --a-section: clamp(72px, 10vw, 136px);
  color: var(--a-ink);
}

.about-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--a-gutter);
}

.about a:focus-visible {
  outline: 3px solid var(--a-saffron);
  outline-offset: 4px;
}

/* Section headings */
.about .about-h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Reading text */
.about-prose p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--a-muted);
  max-width: 58ch;
}

.about-prose p + p {
  margin-top: 1.25em;
}

.about-prose .about-lede {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--a-ink);
  margin-bottom: 1.1em;
}

/* 1. Hero */
.about-hero {
  background: var(--a-ink);
  color: var(--a-bone);
  padding-top: clamp(56px, 9vw, 120px);
  overflow: hidden;
}

.about-hero-head {
  display: grid;
  gap: 28px;
  align-items: end;
}

.about .about-hero h1 {
  color: var(--a-bone);
  font-size: clamp(3rem, 8.4vw, 7.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.about-hero-intro {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: #c4beb1;
  max-width: 34ch;
}

.about-fan {
  height: clamp(220px, 35vw, 420px);
  margin-top: clamp(24px, 5vw, 56px);
}

.about-fan svg {
  display: block;
  width: 100%;
  height: 100%;
}

.about-fan-card {
  transform-box: view-box;
  transform-origin: 600px 1040px;
  transform: rotate(var(--a));
  animation: about-fan-out 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 70ms);
}

@keyframes about-fan-out {
  from {
    transform: rotate(0deg);
  }
}

.about-fan-word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  fill: var(--a-ink);
}

/* 2. Story */
.about-story {
  padding: var(--a-section) 0;
}

.about-story-grid {
  display: grid;
  gap: 48px;
}

.about-wall {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 40px;
  border-radius: var(--radius-md);
}

/* 3. Beliefs */
.about-believe {
  padding-bottom: var(--a-section);
}

.about .about-believe .about-h2 {
  max-width: 14ch;
}

.about-principles {
  display: grid;
  gap: 40px;
  margin-top: clamp(40px, 6vw, 72px);
}

.about-principle {
  border-top: 2px solid var(--a-ink);
  padding-top: 24px;
}

.about-principle svg {
  display: block;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--a-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-principle svg .about-glyph-fill {
  fill: var(--a-saffron);
}

.about .about-principle h3 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.about-principle p {
  color: var(--a-muted);
  line-height: 1.65;
  max-width: 36ch;
}

/* 4. Collection */
.about-collection {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  padding: var(--a-section) 0;
}

.about-collection-head {
  display: grid;
  gap: 24px;
  align-items: end;
}

.about-posters {
  list-style: none;
  display: flex;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 80px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.about-poster {
  flex: 0 0 72%;
  scroll-snap-align: start;
}

.about-poster a {
  display: block;
}

.about-poster-frame {
  display: block;
  aspect-ratio: 2 / 3;
  background: #ece8df;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

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

.about-poster-title {
  display: block;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--a-ink);
}

/* 5. Why digital */
.about-digital {
  padding: var(--a-section) 0;
}

.about-digital-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.about-sizes {
  max-width: 340px;
}

.about-sizes svg {
  display: block;
  width: 100%;
  height: auto;
}

.about-size-label text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  fill: var(--a-ink);
}

.about-sizes figcaption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--a-muted);
}

.about .about-digital .about-h2 {
  margin-bottom: 0.6em;
}

/* 6. Closing */
.about-close {
  background: var(--a-blue);
  color: #fff;
  padding: var(--a-section) 0;
}

.about-close .about-wrap::before {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  background: var(--a-saffron);
  margin-bottom: 32px;
}

.about .about-close-title {
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(32px, 5vw, 48px);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  background: var(--a-bone);
  color: var(--a-ink);
  font-size: 1rem;
  font-weight: 700;
}

.about-cta span {
  transition: transform var(--transition-normal);
}

.about-cta:hover span {
  transform: translateX(4px);
}

.about-close .about-cta:focus-visible {
  outline-color: #fff;
}

/* Wider screens */
@media (min-width: 700px) {
  .about-posters {
    overflow: visible;
    gap: clamp(16px, 3vw, 40px);
    align-items: start;
  }

  .about-poster {
    flex: 1 1 0;
  }

  .about-poster:nth-child(2) {
    margin-top: clamp(24px, 5vw, 64px);
  }
}

@media (min-width: 800px) {
  .about-principles {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (min-width: 900px) {
  .about-hero-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 64px;
  }

  .about-digital-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 96px;
  }

  .about-sizes {
    justify-self: center;
  }
}

@media (min-width: 960px) {
  .about-story-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 96px;
    align-items: start;
  }

  .about-story-side {
    position: sticky;
    top: 120px;
  }

  .about-collection-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-fan-card {
    animation: none;
  }

  .about-cta span {
    transition: none;
  }
}
