/* About page */

.about-intro {
  padding-top: clamp(8px, 2vw, 24px);
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  margin: 0 0 clamp(24px, 3vw, 48px);
}

.about-title {
  font-weight: 600;
  /* Figma: Inter Semi Bold, 128px */
  font-size: clamp(2.5rem, 9vw, 8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

.about-hero-photo img {
  width: 100%;
  aspect-ratio: 1098 / 824;
  object-fit: cover;
  border-radius: 48px;
  background: #f2f2f2;
}

@media (min-width: 860px) {
  .about-hero {
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 5vw, 64px);
  }

  .about-title { padding-top: 12px; }
}

.about-me { margin: 0 0 clamp(56px, 9vw, 112px); }

.about-me h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3.3vw, 4rem); /* Figma: Inter Semi Bold, 64px */
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(24px, 3.5vw, 40px);
}

.about-me-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 6vw, 117px);
}

.about-me-photo img {
  width: 100%;
  max-width: 499px;
  aspect-ratio: 499 / 667;
  object-fit: cover;
  border-radius: 55px;
  background: #f2f2f2;
}

.about-me-text h3 {
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 3rem); /* Figma: Inter Semi Bold, 48px */
  margin: 0 0 16px;
}

.about-me-text p {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 1.3vw, 1.5rem); /* was inheriting the 16px body default, too small next to the 48px heading */
  line-height: 1.6;
  color: var(--ink);
  max-width: 68ch;
}

.about-me-text p:last-child { margin-bottom: 0; }

@media (min-width: 640px) {
  .about-me-row { grid-template-columns: minmax(220px, 499px) 1fr; }
}

/* ---------- Clients & Agencies (full-bleed) ---------- */

.about-clients {
  margin: 0 0 clamp(56px, 9vw, 112px);
}

.about-clients h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3.3vw, 4rem); /* Figma: Inter Semi Bold, 64px */
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 clamp(24px, 3.5vw, 40px);
  text-align: right; /* Figma: this heading sits right-aligned above the band */
}

.about-clients-band {
  background: #2b2b2b; /* Figma: band fill 2B2B2B */
  padding: clamp(32px, 5vw, 56px) 0;
}

.about-clients-row {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.about-clients-track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6.5vw, 100px);
  width: max-content;
  animation: about-clients-scroll 26s linear infinite;
}

.about-clients-row:hover .about-clients-track {
  animation-play-state: paused;
}

@keyframes about-clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .about-clients-track { animation: none; }
  .about-clients-row { overflow-x: auto; }
}

/* Every client logo sits in an equal-size slot so differing source aspect
   ratios and padding don't make some logos read bigger than others.
   Figma: the logo strip sits ~200px tall inside a 471px band. */
.client-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(130px, 15.5vw, 300px);
  height: clamp(80px, 10.4vw, 200px);
  flex: none;
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  flex: none;
}

.about-badge {
  height: clamp(90px, 12vw, 230px);
  width: auto;
  border-radius: 50%;
  flex: none;
}

/* ---------- Skills ---------- */

.about-skills h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3.3vw, 4rem); /* Figma: Inter Semi Bold, 64px */
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(24px, 3.5vw, 40px);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 32px);
  padding-bottom: clamp(64px, 10vw, 140px);
}

.skills-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  line-height: 1.7;
}

@media (min-width: 720px) {
  .skills-grid { grid-template-columns: repeat(4, 1fr); }
}
