.about-me {
  width: 100%;
  min-height: 100svh;
  padding: 5rem 0;
  border-top: 0.0625rem solid #a9a9a9;
  display: flex;
  flex-direction: column;
  gap: 3.375rem;
}

.about-layout,
.about-companies-strip,
.about-tools {
  width: 100%;
  max-width: 98.75rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5rem;
  padding-right: 5rem;
  box-sizing: border-box;
}

.about-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3.5rem;
}

.about-copy {
  max-width: 36.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-copy-main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-copy-tail {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.about-copy-expanded.is-expanded + .about-actions {
  margin-top: 1.75rem;
}

.about-copy h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 400;
  color: #1e1e1e;
}

.about-copy p {
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 300;
  color: #474747;
}

.about-button {
  width: fit-content;
  border: 0.0625rem solid #1e1e1e;
  border-radius: 62.4375rem;
  padding: 0.875rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 500;
  color: #000000;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.about-button:hover {
  background-color: #f4f4f4;
  border-color: #e2e2e2;
  color: #646464;
}

button.about-button {
  font-family: inherit;
  background: transparent;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}

button.about-button .about-button-label {
  -webkit-user-select: none;
  user-select: none;
}

.about-video-button {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.0625rem solid #d9cff5;
  border-radius: 62.4375rem;
  background: #ede8f9;
  color: #7157cf;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.about-video-button:hover {
  background-color: #e0d8f4;
  border-color: #c4b5ef;
  color: #4d379b;
}

.about-video-button:focus-visible {
  outline: 0.125rem solid #6866df;
  outline-offset: 0.125rem;
}

.about-button-chevron {
  flex-shrink: 0;
  color: inherit;
  transition: transform 0.3s ease;
}

.about-button[aria-expanded="true"] .about-button-chevron {
  transform: rotate(180deg);
}

.about-copy-expanded {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.about-copy-expanded.is-expanded {
  grid-template-rows: 1fr;
}

.about-copy-expanded-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-copy-expanded-inner p {
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 300;
  color: #474747;
}

.about-photo-card {
  width: 21.875rem;
  border-radius: 3.75rem;
  position: relative;
  outline: none;
}

.about-photo-card--mobile-only {
  display: none;
}

.about-photo-card:focus-visible {
  outline: 0.125rem solid #4a2eac;
  outline-offset: 0.25rem;
}

.about-photo-flip {
  -webkit-perspective: 68.75rem;
  perspective: 68.75rem;
}

.about-photo-flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
  border-radius: inherit;
}

.about-photo-card.is-flipped .about-photo-flip-inner {
  transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .about-photo-card:hover .about-photo-flip-inner {
    transform: rotateY(180deg);
  }
}

.about-photo-face {
  border-radius: inherit;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.about-photo-face--front {
  position: relative;
}

.about-photo-face--front img {
  width: 100%;
  height: auto;
  display: block;
}

.about-photo-face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}

.about-photo-face--back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-flip-inner {
    transition-duration: 0.01ms;
  }
}

.about-tags {
  position: absolute;
  left: 1.125rem;
  bottom: 2.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  border-radius: 5.8125rem;
  padding: 0 1.125rem;
  font-size: 1.3125rem;
  color: #ffffff;
  background: #7157cf;
}

.about-tags span:nth-child(2) {
  background: #4d379b;
}

.about-tags span:nth-child(3) {
  background: #332660;
  width: fit-content;
}

.about-companies-strip {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
}

.about-companies-strip::before,
.about-companies-strip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 0.0625rem;
  background-color: #a9a9a9;
  pointer-events: none;
}

.about-companies-strip::before {
  top: 0;
}

.about-companies-strip::after {
  bottom: 0;
}

.about-companies-copy {
  min-width: 14.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about-companies-copy span {
  color: #4a2eac;
  font-size: 1.125rem;
  line-height: 1.4;
}

.about-companies-copy h2 {
  color: #080808;
  font-size: 1.6rem;
  line-height: 1.15;
  font-weight: 400;
}

.about-companies-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about-companies-logos img {
  max-height: 2.1875rem;
  width: auto;
  object-fit: contain;
}

.about-companies-logos .about-company-logo--compact {
  max-height: 1.75rem;
}

.divider-company-logo {
  width: 0.0625rem;
  height: 1.5rem;
  background-color: #dfdfdf;
}

.about-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.about-tools-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 46.5625rem;
  width: 100%;
}

.about-tools-header h2 {
  color: #0c0c0c;
  font-size: 2.75rem;
  line-height: 1.4;
  font-weight: 400;
}

.about-tools-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.about-tools-track {
  display: flex;
  width: max-content;
  animation: about-tools-marquee 48s linear infinite;
  will-change: transform;
}

.about-tools-marquee:hover .about-tools-track {
  animation-play-state: paused;
}

.about-tools-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1.1875rem;
  padding-right: 1.1875rem;
}

@keyframes about-tools-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

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

.tool-card {
  flex: 0 0 16.0625rem;
  height: 8.8125rem;
  border-radius: 2.5625rem;
  background: #f3f3f3;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo frames from Figma (node 666:927) — width × height in px */
.tool-card img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

.tool-card--lovable img {
  width: 9.5625rem;
  height: 2.75rem;
}

.tool-card--figma img {
  width: 7.7077rem;
  height: 2.3376rem;
}

.tool-card--notion img {
  width: 8.0057rem;
  height: 2.7219rem;
}

.tool-card--cursor img {
  width: 10.3328rem;
  height: 2.7812rem;
}

.tool-card--teams img {
  width: 11.4744rem;
  height: 2.6594rem;
}

.tool-card--gcal img {
  width: 11.4073rem;
  height: 2.6907rem;
}

.tool-card--miro img {
  width: 7.4721rem;
  height: 2.6282rem;
}

.tool-card--hotjar img {
  width: 8.6495rem;
  height: 2.3964rem;
}

.tool-card--claude img {
  width: 12.1773rem;
  height: 2.6594rem;
}

.tool-card-dark {
  background: #1b1b1b;
  color: #f3f3f3;
}

.tool-card--cursor.tool-card-dark {
  background: #000000;
}

.footer-mobile {
  display: none;
}

@media (max-width: 75rem) {
  .about-copy h1 {
    font-size: 2.625rem;
  }

  .about-copy p {
    font-size: 1.5rem;
  }

  .about-copy-expanded-inner p {
    font-size: 1.5rem;
  }

  .about-tools-header h2 {
    font-size: 2rem;
    max-width: 100%;
  }
}

@media (max-width: 56.25rem) {
  .about-me {
    padding: 3.25rem 0 1.5rem;
    gap: 1.75rem;
  }

  .about-layout,
  .about-companies-strip,
  .about-tools {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .about-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .about-copy {
    max-width: none;
  }

  .about-copy h1 {
    font-size: 2rem;
  }

  .about-copy p {
    font-size: 1.3125rem;
  }

  .about-copy-expanded-inner p {
    font-size: 1.3125rem;
  }

  .about-button {
    font-size: 1.125rem;
    padding: 1rem 1.375rem;
  }

  .about-video-button {
    width: 3.75rem;
    height: 3.75rem;
  }

  .about-photo-card {
    width: min(22.5rem, 100%);
    margin: 0 auto;
    border-radius: 2rem;
  }

  .about-photo-flip {
    -webkit-perspective: 56.25rem;
    perspective: 56.25rem;
  }

  .about-tags {
    left: 0.75rem;
    bottom: 1rem;
    gap: 0.5rem;
  }

  .about-tags span {
    min-height: 2.5rem;
    font-size: 1rem;
    padding: 0 0.875rem;
  }

  .about-companies-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.9rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .about-companies-copy h2 {
    font-size: 1.6rem;
  }

  .about-companies-logos {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    gap: 1.125rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

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

  .about-tools {
    gap: 1.75rem;
    padding-bottom: 3rem;
  }

  .about-tools-header h2 {
    font-size: 1.75rem;
    line-height: 1.35;
  }

  .about-tools-group {
    gap: 0.875rem;
    padding-right: 0.875rem;
  }

  .tool-card {
    flex-basis: 13.75rem;
    height: 6.5rem;
    border-radius: 1.75rem;
  }

  .tool-card--lovable img {
    width: calc(9.5625rem * 220 / 257);
    height: calc(2.75rem * 104 / 141);
  }

  .tool-card--figma img {
    width: calc(7.7077rem * 220 / 257);
    height: calc(2.3376rem * 104 / 141);
  }

  .tool-card--notion img {
    width: calc(8.0057rem * 220 / 257);
    height: calc(2.7219rem * 104 / 141);
  }

  .tool-card--cursor img {
    width: calc(10.3328rem * 220 / 257);
    height: calc(2.7812rem * 104 / 141);
  }

  .tool-card--teams img {
    width: calc(11.4744rem * 220 / 257);
    height: calc(2.6594rem * 104 / 141);
  }

  .tool-card--gcal img {
    width: calc(11.4073rem * 220 / 257);
    height: calc(2.6907rem * 104 / 141);
  }

  .tool-card--miro img {
    width: calc(7.4721rem * 220 / 257);
    height: calc(2.6282rem * 104 / 141);
  }

  .tool-card--hotjar img {
    width: calc(8.6495rem * 220 / 257);
    height: calc(2.3964rem * 104 / 141);
  }

  .tool-card--claude img {
    width: calc(12.1773rem * 220 / 257);
    height: calc(2.6594rem * 104 / 141);
  }
}

@media (max-width: 48rem) {
  .about-layout,
  .about-companies-strip,
  .about-tools {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .about-layout > .about-photo-card:not(.about-photo-card--mobile-only) {
    display: none;
  }

  .about-photo-card.about-photo-card--mobile-only {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 2rem;
  }

  .about-photo-card.about-photo-card--mobile-only .about-photo-flip {
    -webkit-perspective: 56.25rem;
    perspective: 56.25rem;
  }

  .about-actions {
    width: 100%;
  }

  .about-actions .about-button {
    flex: 1 1 auto;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

/* About intro video modal */
.about-video-modal {
  --about-video-modal-duration: 300ms;
  --about-video-modal-ease: ease-out;
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.about-video-modal[hidden] {
  display: none;
}

.about-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 20, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--about-video-modal-duration) var(--about-video-modal-ease);
}

.about-video-modal.is-open .about-video-modal__backdrop {
  opacity: 1;
}

.about-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(28rem, calc(100vw - 3rem));
  max-height: calc(100svh - 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #111111;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center center;
  transition:
    opacity var(--about-video-modal-duration) var(--about-video-modal-ease),
    transform var(--about-video-modal-duration) var(--about-video-modal-ease);
}

.about-video-modal.is-open .about-video-modal__dialog {
  opacity: 1;
  transform: scale(1);
}

.about-video-modal__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-video-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 62.4375rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.about-video-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.about-video-modal__close:focus-visible {
  outline: 0.125rem solid #ffffff;
  outline-offset: 0.125rem;
}

.about-video-modal__player {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100svh - 3rem);
  background: #000000;
}

.about-video-modal__player video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(28rem, calc(100vw - 3rem));
  max-height: calc(100svh - 3rem);
  object-fit: contain;
  object-position: center center;
  background: #000000;
}

body.about-video-modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .about-video-modal {
    --about-video-modal-duration: 1ms;
  }

  .about-video-modal__dialog {
    transform: none;
  }
}
