/*
 * About: same visual language as the hero and "Selected projects".
 * White background, Satoshi 500 titles, regular-weight body text, blue-gray
 * eyebrows, light blue cards with a glow, white boxes with light blue
 * dividers and gradient pill buttons. The photo is shown as an annotated
 * Figma frame (see about-fig.css).
 *
 * Loaded after about-me.css; it only overrides appearance, and the
 * Learn more and video scripts keep working unchanged.
 */

section.slide-purple {
  border-bottom: 0;
  background: #ffffff;
}

.about-me {
  --about-ink: #141414;
  --about-eyebrow: #3d5459;
  --about-muted: #6c7a7e;
  --about-card-bg: #e1edf0;
  --about-line: #c9e3ea;
  --about-glow: rgba(166, 210, 223, 0.85);

  min-height: 0;
  padding: 6rem 0 5rem;
  gap: 4.5rem;
  background: #ffffff;
  color: var(--about-ink);
  font-family: "Satoshi", sans-serif;
}

.about-me .about-layout,
.about-me .about-companies-strip,
.about-me .about-tools {
  max-width: calc(73.75rem + 3rem);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Eyebrows (same as "Product Designer & Builder" / "Creating experiences…") */

.about-me .about-eyebrow {
  margin: 0;
  color: var(--about-eyebrow);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Intro */

.about-me .about-layout {
  align-items: center;
  gap: 4rem;
}

.about-me .about-copy {
  max-width: 36rem;
  gap: 0;
}

.about-me .about-copy h1 {
  margin-top: 1.125rem;
  color: var(--about-ink);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.about-me .about-copy-main {
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-me .about-copy p:not(.about-eyebrow),
.about-me .about-copy-expanded-inner p {
  color: var(--about-ink);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.6;
}

.about-me .about-copy-expanded-inner {
  gap: 1.25rem;
}

.about-me .about-copy-expanded.is-expanded .about-copy-expanded-inner {
  padding-bottom: 1.5rem;
}

/* Facts: same white box as the project meta (Industry / Platforms / Year) */

.about-facts {
  display: flex;
  margin: 0 0 1.75rem;
  border: 0.0625rem solid var(--about-line);
  border-radius: 1.5rem;
  background: #ffffff;
  overflow: hidden;
}

.about-facts__item {
  padding: 1.125rem 1.625rem;
}

.about-facts__item + .about-facts__item {
  border-left: 0.0625rem solid var(--about-line);
}

.about-facts__item:last-child {
  flex: 1;
}

.about-facts dt {
  color: var(--about-muted);
  font-size: 1rem;
  line-height: 1.4;
}

.about-facts dd {
  margin: 0.375rem 0 0;
  color: var(--about-ink);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.3;
}

.about-me .about-copy-expanded.is-expanded + .about-actions {
  margin-top: 0;
}

/* Buttons: same pills as "Resume" (light) and "Talk to me" (dark) */

.about-me .about-button {
  height: 2.875rem;
  padding: 0 1.125rem 0 1.375rem;
  border: 0;
  border-radius: 1.4375rem;
  background: linear-gradient(134deg, #f8f8f8 22%, #c8c8c8 100%);
  color: #0d0d0d;
  font-size: 1rem;
  font-weight: 400;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.about-me .about-button:hover {
  border-color: transparent;
  background: linear-gradient(134deg, #f8f8f8 22%, #c8c8c8 100%);
  color: #0d0d0d;
  filter: brightness(0.96);
}

.about-me .about-button-chevron {
  width: 1.25rem;
  height: 1.25rem;
}

.about-me .about-video-button {
  width: 2.875rem;
  height: 2.875rem;
  border: 0;
  background: linear-gradient(114deg, #2d2d2d 12%, #777777 100%);
  color: #ffffff;
  transition: filter 0.2s ease;
}

.about-me .about-video-button:hover {
  border-color: transparent;
  background: linear-gradient(114deg, #2d2d2d 12%, #777777 100%);
  color: #ffffff;
  filter: brightness(1.15);
}

.about-me .about-video-button:focus-visible,
.about-me .about-button:focus-visible {
  outline: 0.125rem solid #2a2a2a;
  outline-offset: 0.1875rem;
}

/* Companies: light blue card with a glow, logos inside a white box */

.about-me .about-companies-strip {
  width: calc(100% - 3rem);
  max-width: 73.75rem;
  padding: 2.5rem;
  border-radius: 2.5rem;
  /* same gray as the navbar tab pill */
  background: #ededed;
}

.about-me .about-companies-strip::before,
.about-me .about-companies-strip::after {
  content: none;
}

.about-me .about-companies-copy {
  gap: 0.625rem;
}

.about-me .about-companies-copy span {
  color: var(--about-eyebrow);
  font-size: 1.0625rem;
}

.about-me .about-companies-copy h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Logos: black silhouettes on a transparent background, no box or dividers.
   The PNGs are already transparent, so brightness(0) turns every color black. */
.about-me .about-companies-logos {
  gap: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.about-me .about-companies-logos img {
  padding: 0;
  filter: brightness(0);
}

.about-me .divider-company-logo {
  display: none;
}

/* Tools */

.about-me .about-tools {
  gap: 2rem;
  padding-bottom: 0;
}

.about-me .about-tools-header {
  flex-direction: column;
  gap: 1.125rem;
}

.about-me .about-tools-header h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

@media (max-width: 75rem) {
  .about-me .about-copy h1,
  .about-me .about-tools-header h2 {
    font-size: 2.5rem;
  }

  .about-me .about-companies-logos {
    gap: 2.25rem;
  }
}

@media (max-width: 64rem) {
  /* Logos no longer fit beside the title: stack them inside the card. */
  .about-me .about-companies-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 2rem;
  }

  .about-me .about-companies-logos {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .about-me .about-companies-logos::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 56.25rem) {
  .about-me {
    padding: 4rem 0 3.5rem;
    gap: 3rem;
  }

  .about-me .about-layout,
  .about-me .about-tools {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .about-me .about-companies-strip {
    width: calc(100% - 2rem);
    padding: 1.5rem 1.25rem;
    border-radius: 2rem;
  }

  .about-me .about-copy h1,
  .about-me .about-tools-header h2 {
    font-size: 2rem;
  }

  .about-me .about-copy p:not(.about-eyebrow),
  .about-me .about-copy-expanded-inner p {
    font-size: 1.0625rem;
  }

  .about-facts__item {
    padding: 0.875rem 1rem;
  }

  .about-facts dt {
    font-size: 0.875rem;
  }

  .about-facts dd {
    font-size: 1rem;
  }
}


/* Video placeholder: not clickable, so no click cursor (reset.css gives every
   button and its children one). Hovering or focusing shows a Figma-style
   comment, "Coming soon", growing out of its pointed bottom-left corner. */
.about-me .about-video-button--soon,
.about-me .about-video-button--soon * {
  cursor: inherit;
}

.about-me .about-video-button--soon { position: relative; }

.about-soon {
  position: absolute;
  left: calc(100% + 0.25rem);
  bottom: calc(100% - 0.25rem);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem;
  border-radius: 1.5rem 1.5rem 1.5rem 0.25rem;
  background: #2f6470;
  box-shadow: 0 0.75rem 1.75rem -0.5rem rgba(20, 50, 58, 0.45);
  color: #ffffff;
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.005em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
  transform-origin: 0 100%;
  transition: opacity 0.18s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-me .about-video-button--soon:hover .about-soon,
.about-me .about-video-button--soon:focus-visible .about-soon {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .about-soon { transition: opacity 0.15s ease; transform: none; }
}
